NeilMendes
8 years agoNew Contributor
How to remove a no longer existing workspace from the dashboard dropdown
Doing a bit of house keep with my Ready API project and have deleted off no longer needed workspaces. These however still appear on the dashboards drop down v2.0.0 Is there a way to get rid of no...
- 7 years ago
It can be done but as nmrao said it is usually recommended to keep the test cases separated from each other. Nevertheless here is the code:
// Get the test step for which you want the response def testStep = testRunner.testCase.testSuite.testCases[ "Name of your test case" ].testSteps[ "Name of your test step" ] // Get the response def response = testStep.testRequest.response.responseContent // Log the response log.info response
I created a demo project which can be downloaded from https://github.com/lucadln/soapui/tree/master/ReadyAPI/ResponseFromDifferentTestCase
Cheers! :manwink: