Contributions
How to assert response in Raw Tab
Below is the response I got in the Raw tab in soupui when I invoke a REST service. I'm trying to find how to assert the data in this response like "Update successful". If anyone know how to handle this, kindly share your ideas HTTP/1.1 200 OK Date: Thu, 28 Apr 2011 16:15:34 GMT Server: Apache-Coyote/1.1 X-Powered-By: Servlet 2.4; JBoss-4.3.0.GA (build: SVNTag=JBPAPP_4_3_0_GA date=200801031548)/Tomcat-5.5 responseReason: Update successful. Content-Length: 0 Set-Cookie: JSESSIONID=EE5332D5A6F9634017852BC2B5472B4A; Path=/ Content-Type: text/plain; charset=UTF-8 Set-Cookie: BIGipServerqa2-kaptest_http-pool=818745516.20480.0000; path=/2.8KViews0likes2CommentsRe: How to parameterize data in the post body
To achieve this you first need to have Data source step create before this step and you have to specify the data source here. In my case I specified the excel as my data source. In the actual step you need to select the value you need to parameterize and right click and select the get Data option and you should be able to find the data source you create before and all you need to do is select the right data source from there. Objective of me doing this is, I could able to easily transform this functional script in to load test. nrajeshkumar wrote: I'm sending a post with body as below. I'm trying to parameterize the userName and password so that I can have that information passed through csv file. I'm not sure how to parameterize this. Kindly share your ideas how to accomplish this. <login userName='admin' password='password123' rememberLogin='no' instance='' prdName='Prd1' assetName='main' />14 years agoPlace ReadyAPI QuestionsReadyAPI Questions696Views0likes0CommentsParameterizing the REST
Hi, I'm trying to automate a REST webservice testing. I need to send this as body username=test@mailinator.com&newPassword=yen22 It works but I would like to load the username from the spread sheet so that I can parameterize the value. I tried to create a Data source step and using get data I tried to get the data but its not working. Kindly help on this. Thanks, RK924Views0likes0CommentsHow to parameterize data in the post body
I'm sending a post with body as below. I'm trying to parameterize the userName and password so that I can have that information passed through csv file. I'm not sure how to parameterize this. Kindly share your ideas how to accomplish this. <login userName='admin' password='password123' rememberLogin='no' instance='' prdName='Prd1' assetName='main' />14 years agoPlace ReadyAPI QuestionsReadyAPI Questions2KViews0likes1Comment