Eggplant Performance Test Controller:
GET Transactions Method

This method gets a report on the transactions that have been completed in a project.

URL

/test_controller/api/1.0/<workspace>/<project>/<test>/transactions

HTTP Method

GET: Gets a report on the transactions that have been completed

URL Query Parameters

The following can be added to the URL as query parameters:

Parameter Description
after_time

A time, expressed in milliseconds since Jan. 1 1970. Only transactions that completed after this time will be considered

Response Parameters

The response will be an object with the following entries:

Parameter Type Description
average Object The average response time for each transaction (in seconds)
rate Object The transaction rate for each transaction (in transactions/s)
count Object The total count of each transaction
fail_count Object

The total number of failures for each transaction

minimum Object The minimum response time for each transaction (in seconds)
maximum Object The maximum response time for each transaction (in seconds)

Example Request

http://localhost:5001/test_controller/api/1.0/Demo%20Workspace/Demo/demoScript/transactions?after_time=147409660000

Example Response

{

"average": {

"Buy": 5.904,

"Home": 9.115,

"Login": 6.874,

"Search": 6.715,

"<COMBINED>": 7.152

},

"rate": {

"Buy": 0.05,

"Home": 0.05,

"Login": 0.05,

"Search": 0.05,

"<COMBINED>": 0.199

},

"count": {

"Buy": 1066,

"Home": 1065,

"Login": 1066,

"Search": 1064,

"<COMBINED>": 4261

},

"fail_count": {

"Buy": 0,

"Home": 0,

"Login": 0,

"Search": 0,

"<COMBINED>": 0

},

"minimum": {

"Buy": 3.444,

"Home": 6.123,

"Login": 5.999,

"Search": 4.414,

"<COMBINED>": 3.444

},

"maximum": {

"Buy": 7.112,

"Home": 10.456,

"Login": 6.999,

"Search": 8.765,

"<COMBINED>": 10.456

}

}

 

This topic was last updated on January 13, 2022, at 02:42:23 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2022 Eggplant