v9

latestSwagger 2.02026-07-1340120211.1 KB
Test

Upload input file for a given test Id. File size can't be more than 50 MB. Existing file with same name for the given test will be overwritten. File should be provided in the request body as application/octet-stream.

Upload input file for a given test Id. File size can't be more than 50 MB. Existing file with same name for the given test will be overwritten. File should be provided in the request body as application/octet-stream.

put/tests/{testId}/files/{fileName}

Path parameters

testIdstring required

Unique name for the load test, must contain only lower-case alphabetic, numeric, underscore or hyphen characters.

fileNamestring required

Unique name for test file with file extension like : App.jmx

Query parameters

api-versionstring required

The API version to use for this operation.

fileType'JMX_FILE' | 'USER_PROPERTIES' | 'ADDITIONAL_ARTIFACTS' | 'ZIPPED_ARTIFACTS' | 'URL_TEST_CONFIG' | 'TEST_SCRIPT' | 'BROWSER_RECORDING' | 'TEST_PLAN_RECOMMENDATIONS'

File type

Response

The request has succeeded and a new resource has been created as a result.

fileNamestring required

Name of the file.

urlstring uri

File URL.

fileType'JMX_FILE' | 'USER_PROPERTIES' | 'ADDITIONAL_ARTIFACTS' | 'ZIPPED_ARTIFACTS' | 'URL_TEST_CONFIG' | 'TEST_SCRIPT' | 'BROWSER_RECORDING' | 'TEST_PLAN_RECOMMENDATIONS'

Types of file supported.

expireDateTimestring date-time

Expiry time of the file (RFC 3339 literal format)

validationStatus'NOT_VALIDATED' | 'VALIDATION_SUCCESS' | 'VALIDATION_FAILURE' | 'VALIDATION_INITIATED' | 'VALIDATION_NOT_REQUIRED'

File status.

validationFailureDetailsstring

Validation failure error details