Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
XML testing
#1
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>
Reply
#2
"any kind of XML testing" is quite open ended....try to be more specific

You can create XML checkpoints to verify the structure.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#3
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>
Reply
#4
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)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)