Contributions
Re: Generic assertion.
Maybe it would be better if we can add assertions on the Project dashboard, Go to Project Dashboard, Browse project, select your API, select a request, run it, add assertions. Now whenever you pick this REST request to be added to testcase, it already has the assertions you put on it.8.2KViews0likes0CommentsRe: Is it possible to call assert with my own test result (Pass or Fail)?
Are you trying to validateeach testcase with 'Script Assertion (groovy script)'? If so, then you can pass or fail that script by using 'assert' then pass a true or false (boolean) condition on it, true (passed), false (failed) e.g. def getTotalNumbers = totalNumbersFromResponse; def expectedTotal = 10; assert getTotalNumbers == expectedTotal; // if both matches, your testcase will pass, else fail7 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews1like1CommentRe: File and folder names with special%24%87%characters
I think this is normal for a composite project since you can not use special characters ( e.g., : / )as a file or folder name, these special characters are encoded, for new API resources where you input 'http://your.api.com:3000', these resources is saved as a folder with an encoded name other way, you can name your project without special characters, but better accept it as it is, it's not harmful, you will get used to it :)7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.3KViews0likes0CommentsRe: Modifying REST request query via groovy script
i found a way to modify the request of a teststep using a groovy script def testStep = context.testCase.getTestStepByName('My test step name') for (def testCaseProp in testStep.getPropertyList()) { testCaseProp.setValue() } but, is there a better way? I want to modify the request queries of other teststeps.7 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.2KViews0likes1CommentRe: Run SOAP UI PRO Tests via Jenkins
Open your SoapUI, navigate to a suite, then right click, then select Launch TestRunner modify the settings to fit your needs, click 'Launch', this will display a command that was executed in a shell copy this, then use it on jenkins. you might need to modify the command. sample command:cmd.exe /C testrunner.bat -sSanity "-RTestSuite Report" "-EDefault environment"7 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.3KViews0likes7CommentsAccented Characters HttpPost
I am trying to POST a request containing accented characters & I am getting errors in response. I tried it in postman and it works fine. Is there a header or options that I can use to post accented characters?8 years agoPlace ReadyAPI QuestionsReadyAPI Questions590Views0likes0CommentsRe: JsonPath Existence Match is valid even in case of wrong expected result
That is because your Condition XPath doesn't have any condition, try adding a condition like (equal, exists, not) declare namespace ns1=/Job/310501a5-4d7d-400c-b240-a62f00a9fcec%0D/Result; //ns1:Response[1]/ns1:Successful[1] = 'true' then setthe testStep you are going to be redirected example: for condition "Job Status", you will get the value of "Success" then do a XPath Condition //Successful[1] = 'true', if this is true then you will be redirected to your Taget Step8 years agoPlace ReadyAPI QuestionsReadyAPI Questions825Views1like1CommentRe: JsonPath Existence Match is valid even in case of wrong expected result
tryif ((boolean)result == true)8 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.6KViews0likes5Comments