Комментарии:
So good, so well presented and easy to understand. Many thanks for your time!!
ОтветитьAmazing tutorial!!!! So clear and easy to understand. thanks ,your brilliant .
ОтветитьWould have been helpful if you had showed for REST services too
ОтветитьHello Sir, How I can test this type of Scenario using SoapUI : Verify XYZ Application receives data from the ABC via WebService
ОтветитьAmazing tutorial!!!! So clear and easy to understand. I've watched other instructors that were confusing but this one is great. Thank You
ОтветитьHi Raghav, very nice and clean how-to video. Helped me on the spot. Especially the live notes are a very nice service. Create more of it. You have a talent for these things I'd say. Thumbs up :-). Cheers, Michael
Ответитьit will be great if we get the count of nodes in Xml file for particular element from response
Ответитьdef response = testRunner.testCase.getTestStepByName('test step name').getPropertyValue("response")
def object = new XmlSlurper().parseText(response)
def value = object.uhsResponse.hSs.hS.entity.id.text()
log.info(value)
xpath I'm getting in xml Grid = /soapenv:Envelope/soapenv:Body/ns3:uhsResponse/hSs/hS/entity/id"
when I try to print the value using log info...its printing blank. Please help me
Very helpful video, thank you!
ОтветитьThanks for the video, i followed same steps but i am getting "no such property error" on XMLSlurper
def responseValue= testRunner.testCase.getTestStepByName('Add-Request 1').getPropertyValue("response")
def object1 = new XmlSlurper().parseText(response)
def value= object1.text()
testRunner.testCase.getTestStepByName('myProperty').getPropertyValue('addResult',value)
Error: groovy.lang.MissingPropertyException: No such property: response for class: Script2
Hi, thanks for the video. I tried groovy script as shown in the video for passing the value of a SOAP response in to REST request but it didnt woek. I need to pass the value in to the REST GET endpoint. DO I need to do anything different from what is shown in the video?
Ответитьplz make a video how import .xsd file in soapui
ОтветитьHi Raghav,
Thank you so much for creating this series. I have a question on How can I use the property value as a parameter in the next step? Not in the body of the request but a parameter in the URI?
Hi Raghav,
I have a REST API GET request, which returns a HTML response in XML tab. Tried using 'Property Transfer', firstly I am not able to add namespaces clicking on 'ns:' button, it says 'Error: Property Source is not a Request', so I just gave the XPath to extract a value from on of the input field, transfer log says- '[error: </HEAD> does not close tag <META>.].
When using Groovy, I see this error- "org.xml.sax.SAXParseException; lineNumber: 114; column number: 3; The element type "META" must be terminated by the matching end-tag"". error at line: 3"
Which seems to me like not to be using XML parser but some other parser, since the content-type in response is "text/html; character=UTF-8". Please suggest
Nicely explained Thank you!!
ОтветитьNext question if I may.
At work I make xml requests with a section of code that can be repeated to input different objects with the same attributes, each of which is surrounded by <row> and </row>. The response can also include multiple objects of the same type with unique values in their attributes.
Is there a way of cycling through the response and creating a set of properties contain values for the separate returned objects, or feed the repeated returns into repeated in puts of a second request?
Does that make sense and do you have a video about it? I'm guessing Groovy could come into this.
I used this on my project at work and it did the job perfectly. I feared I would run into problems but it was pretty easy. Thank you.
Ответитьthank you! Worked first time!
ОтветитьThank you Raghav. Some great videos and training. I need to save the soap response to Excel. Is there a video for this? Thank you john
ОтветитьVery clear and Nice explanation. I'm tryign to create a data driven framewrok from Excel file using the same WSDL as yours. I'm able to read the data from excel. I have 2 columns First_Num and Second_Num. Now i like to add one new column and write the reponse result. Could you plz help me with this
Ответитьvery helpful thanks!
ОтветитьHi Raghav can you make any one project video on SOAP UI ?
ОтветитьHi Raghav this 23 video is sufficient to do any of the project task by client in the company ?
Ответитьiam the 1000 viewer and i am supposed to tell it is good explanation
ОтветитьThanks for the great explanation Sir.
Ответить