Skip to main content

Test Runs

These Eggplant Performance Analyzer REST methods are for working with test runs. You use the following URL with a GET HTTP method to return information about a specified test run, or a DELETE HTTP method to delete a specified test run. The GET method is shown first, followed by the DELETE method.

URL

/analyzer/api/1.0/<workspace>/<project>/<series>/<test>/<run number>

HTTP Method

GET: Gets information about the specified test run.

Response Parameters

ParameterTypeDescription
add_sut_datastringThe URL for adding SUT data to this test run.
analysis_viewsstringThe URL for viewing analysis views for this test run.
create_analysis_viewstringThe URL for creating an analysis view for this test run.
injectorsstringThe URL for listing the injectors in this test run.
scriptsstringThe URL for listing the scripts in this test run.
summarystringThe URL for giving a summary of the test run.
vu_groupsstringThe URL for listing the VU groups in this test run.

Example Request

http://localhost:5000/analyzer/api/1.0/Workspace%201/Project%201/Series%201/Test%201/1

Example Response

{
"add_sut_data": "http://localhost:5000/analyzer/api/1.0/Workspace%201/Project%201/Series%201/Test%201/1/add_sut_data",
"analysis_views": "http://localhost:5000/analyzer/api/1.0/Workspace%201/Project%201/Series%201/Test%201/1/analysis_views",
"create_analysis_view": "http://localhost:5000/analyzer/api/1.0/Workspace%201/Project%201/Series%201/Test%201/1/create_analysis_view",
"injectors": "http://localhost:5000/analyzer/api/1.0/Workspace%201/Project%201/Series%201Test%201/1/injectors",
"scripts": "http://localhost:5000/analyzer/api/1.0/Workspace%201/Project%201 /Series%201/Test%201/1/scripts",
"summary": "http://localhost:5000/analyzer/api/1.0/Workspace%201/Project%201/Series%201/Test%201/1/summary",
"vu_groups": "http://localhost:5000/analyzer/api/1.0/Workspace%201/Project%201/Series%201/Test%201/1/vu_groups"
}

HTTP Method

DELETE: Deletes the specified test run.

Response Parameters

None.

Example Request

http://localhost:5000/analyzer/api/1.0/Workspace%201/Project%201/Series%201/Test%201/1

Example Response

{}