Contributions
How to get assertion info in groovy
Hello, how can i get the assertion data in groovy like the following example: for example the first: _____ Valid HTTP Status Codes Status: Failed Expected; 202 Current: 403 Error Message: Response Status code: 403 is not in acceptable list of status codes _____ or in general: _____ Name of the assertion Status: actualStatus Expected: Expected Value Current: Current Value Error Message:Error Message _____ So i need methods for name, status, expectedValue, currentValue and the error message. Thanks for help and answering 🙂Solved1KViews0likes1CommentGet Request in Groovy
Hello, i have the following methods: rawResponse = new String(testStep.testRequest.messageExchange.rawResponseData) response = testStep.getPropertyValue("response"); rawRequest = testStep.getPropertyValue("rawrequest") request = testStep.getPropertyValue("request") 1) But the rawRequest (left side) don't give me the values. For the response everything is ok. 2) How to get this table data? (normal request) Thanks for any help and answering. 🙂Solved1KViews0likes3Comments