Contributions
Re: Save the response and validate the response automatically
Hi Chris , thanks for the reply ,it was basically a product feature suggestion to smartbear team to have inbuild feature to achieve the above steps where in readyApi will provide you the drop down to exclude or include the jsonpath of to validate Internally it will generate the json path of response and iterate over the jsonpath and ignore the jsonpath where user has opted exclude and validate the json path value with passed value for include drop down validate "savedresponse" with actual response Exclude-$..versionid Include-$.customer[2].name->punter or $globalvalue Here i am validating the incoming response with "savedresponse" ignoring all the versionid and expecting name at second place to be punter or saved global variable value Remaining json path it will validate exactly with saved response As a user one just have to tell what fields he wants to ignore or validate with some value610Views0likes0CommentsSave the response and validate the response automatically
Hi Team, I have created a utility which will validate the saved response with new response for an api request how to achieve that 1) I will save the sample response which will be compared with response received at run time 2) The utility will generate all the json path for the new response generated and old saved response and store as list 3)it will iterate over any one list extract the content of each node by doing getstring(jsonpath) function and compare with node value received for saved response using same getstring(jsonpath) 4)it will validate the size if response with respect to saved response by asserting size of both the list 5)if user wants to ignore specfic jsonpath they can pass keyword as exclude it will that jsonpath and will not compare that path value if integrated with soapui/ready api feature it will save significant time in asserting response649Views0likes2CommentsRe: Unexpected Element CDATA
Hi Saib, Can you please validate first if your xml request format is correct either by puting raw xml request in site such as"Format xml"or right click on soap ui request window and click on validate. Cdata errors are due to incorrect xml format mostly. thanks Punter7 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.9KViews0likes0CommentsRe: i have a scenario where in i want to run the test case created in my standalone soapui from eclipse
HelloAll , I have impemented that soap ui automation using Eclipse. But i want to take screen shots of soap ui response using auto it or sikuli during run time of soap test cases. Can anyone help me on that?2.2KViews0likes0CommentsRe: i have a scenario where in i want to run the test case created in my standalone soapui from eclipse
HelloAll , I have impemented that soap ui automation using Eclipse. But i want to take screen shots of soap ui response using auto it or sikuli during run time of soap test cases. Can anyone help me on that?2.2KViews0likes0Comments