Execute Test (Espresso/XCUI) › Execute espresso test on the LambdaTest platform (Server 3)
Execute Test (Espresso/XCUI)
Execute espresso test on the LambdaTest platform (Server 3) This endpoint enables you to execute automated tests using the LambdaTest platform.
Execute espresso test on the LambdaTest platform (Server 3) curl -- request POST \
-- url "https://manual-api.lambdatest.com/framework/v1/espresso/build" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"app" : "<app>" ,
"testSuite" : "<testSuite>" ,
"device" : [ ] ,
"queueTimeout" : 0 ,
"idleTimeout" : 0 ,
"deviceLog" : true ,
"network" : true ,
"build" : "<build>" ,
"geoLocation" : "<geoLocation>"
} '
{
"status" : [
"Success"
] ,
"buildId" : [
"1395514"
] ,
"message" : [
""
]
}
Authorizations Authorization string header required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body application/json app string required
The APPID of the uploaded app, usually in the format 'lt://APP_ID'.
testSuite string required
The ID of the uploaded test suite to be executed, usually in the format 'lt://TestSuite_ID'.
device array required
List of device identifiers where the test should be executed. e.g., ['Galaxy S21 5G-12', 'iPhone 12'].
queueTimeout integer required
Maximum time in seconds to wait for devices to be available in the queue. Defaults to 10800 seconds (3 hours).
idleTimeout integer required
Maximum idle time in seconds before a running test is terminated. Defaults to 150 seconds.
deviceLog boolean required
Enable or disable device log capturing. Defaults to true.
network boolean required
Enable or disable network log capturing. Defaults to false.
build string required
Name of the build for identification purposes.
geoLocation string
Geo-location setting for the test, specified as a country code. Defaults to 'US'.
Response 200▼
application/json Successful operation
Execute espresso test on the LambdaTest platform (Server 3) curl -- request POST \
-- url "https://manual-api.lambdatest.com/framework/v1/espresso/build" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"app" : "<app>" ,
"testSuite" : "<testSuite>" ,
"device" : [ ] ,
"queueTimeout" : 0 ,
"idleTimeout" : 0 ,
"deviceLog" : true ,
"network" : true ,
"build" : "<build>" ,
"geoLocation" : "<geoLocation>"
} '
{
"status" : [
"Success"
] ,
"buildId" : [
"1395514"
] ,
"message" : [
""
]
}