Skip to main content

Custom Metrics

This Eggplant Performance Test Controller REST method gets a list of the custom metrics that have been created for this test run.

URL

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

HTTP Method

GET: Gets a list of the custom metrics that have been created for this test run

Response Parameters

TypeDescription
<string>A custom metric.

Example Request

http://localhost:5001/test_controller/api/1.0/Demo%20Workspace/Demo/demoScript/custom_metrics

Example Response

[
"Action4_Checkout",
"Action2_PutSomeStuffInBasket",
"DoTheTimings",
"Action3_SearchForMoreStuff",
"Action1_SearchForStuff"
]