Micro Focus QTP (UFT) Forums
XML testing - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: XML testing (/Thread-XML-testing)



XML testing - newuser001 - 04-01-2008

Hello,

Is it possible to do any kind of XML testing using QTP for the following request--

Code:
https://SERVER NAME/RILSSComponentWeb/services/RILSSComponent,SDP,b1Q5ZTA/cQ==,<addrequest xmlns="http://addprocess.gat.com/addprocessrequest/v1"><transactionId>ss_10475</transactionId><transactionName>Addprocess</transactionName><processId>12345</processId><processList><process><processType>TREST</processType><processscreate>GKUCHa001</processcreate><attributeList><attribute><attributeName>Write</attributeName><attributeValue>Utest</attributeValue></attribute></attributeList></process></processList></addrequest>



RE: XML testing - Ankur - 04-06-2008

"any kind of XML testing" is quite open ended....try to be more specific

You can create XML checkpoints to verify the structure.


RE: XML testing - newuser001 - 04-08-2008

Ankur,

I want to test webservice calls to a particular server. The request (input) is in the following form. I want to make these calls with different parameters (different values for processid, transactionid etc). The response from the server(output) will be a success or a error message. I want to validate this as well. Could you please advise if there is a way to paramerize the xml input and to validate the output...

Code:
https://SERVER NAME/RILSSComponentWeb/services/RILSSComponent,SDP,b1Q5ZTA/cQ==,<addrequest xmlns="http://addprocess.gat.com/addprocessrequest/v1"><transactionId>ss_10475</transactionId><transactionName>Addprocess</transactionName><processId>12345</processId><processList><process><processType>TREST</processType><processscreate>GKUCHa001</processcreate><attributeList><attribute><attributeName>Write</attributeName><attributeValue>Utest</attributeValue></attribute></attributeList></process></processList></addrequest>



RE: XML testing - niranjan - 04-09-2008

by using Mercury Service test you can test this.
If you do not have Mercury Service test, you can try using load runner (I am not sure about this though... just a thought)