Contributions
Re: [Resolved] Pass empty string to query parameter
Hi, How did you get this working? Where can i find the option to disableencoding of the resource method. i have 3 parameters request,name and code and i want to send empty for code. i tried%00 but, this is converted as%2500 Can you please help.8 years agoPlace ReadyAPI QuestionsReadyAPI Questions31KViews0likes1CommentHow to extract RESTAPI response in JSON tab
Hi, I am testing a REST API request to which i see the response in JSON tab. The response is just a number. Could someone help me with a groovy script for the assertions 1. I want to get the response in the JSON tab and store it in properties. 2. I want to assert that the response does not contain the error code. Regards, JesB702Views0likes1CommentRe: Validate the response from the RESTAPI request against the response from the JDBC step
Thank you! but, does it mean that I should have separate groovy step or the groovy assertion in the JDBC and REST API step. And, in the link you shared, I did not understand how the response from each step is retrieved. My REST API response is in XML: <himUser updatedDate="2016-05-25T08:19:42Z" specialty="Nephrology" siteName="Westside - L - 03" siteId="8" login="AKSi79i" speakerCode="BJAi79i"> <address state="Karnataka" zipCode="560078" country="India" city="Bangalore" street1="Magrath Road"/> <contact phoneNumber="9709606"/> <person prefix="Dr." middleName="J1" lastName="spkr123" firstName="Syn123"/> </himUser> </himUsers> And, the JDBC response is like: <Row rowNumber="7"> <SPEAKERCODE>BJAi79i</SPEAKERCODE> <LOGIN>AKSi79i</LOGIN> <UPDATEDDATE>2016-05-25 04:19:42.603</UPDATEDDATE> <BUSINESSENTITYID>8</BUSINESSENTITYID> <SHORTNAME>Westside - L - 03 </SHORTNAME> <DESCRIPTION>Nephrology</DESCRIPTION> <STREET1>Magrath Road</STREET1> <STREET2/> <CITY>Bangalore</CITY> <COUNTRY>India </COUNTRY> <ZIP>560078 </ZIP> <STATE>Karnataka</STATE> <FIRSTNAME>Syn123</FIRSTNAME> <LASTNAME>spkr123 </LASTNAME> <MIDDLEINITIAL>J1</MIDDLEINITIAL> <SUFFIX/> <PREFIX>Dr.</PREFIX> <EMAILADDRESS/> <PHONE>9709606</PHONE> </Row>934Views0likes1CommentValidate the response from the RESTAPI request against the response from the JDBC step
I am new to SOAPUI. I need help to validate in other words groovy script to assert the response from the REST API request against the response from the JDBC step. Could someone help me with this?961Views0likes3Comments