Showing results for 
Search instead for 
Did you mean: 

How to pass XML values in Post Request using DataSource in ReadyAPI

New Contributor

How to pass XML values in Post Request using DataSource in ReadyAPI



I am using ReadyAPI 2.3 and I am having an issue with DataSource


My POST Request contains following values and I need to pass these values using DataSource, but getting 401 error

while Passing these values in Post Request  using DataSource , but working fine if I keep in body.


Ex. {"address1" : "123 Test St", "address2";"Apt16", "city" : "mycity", "state" : "ZZ"}


My question is...Can I setup these values in DataSource ? If so how can I handle it..?

Even I tried Grid also, still getting 401 statusCode error.


Since there is lot of  address validation, I need to setup DataSource

Can you please tell me how to pass XML values? 


Really appreciated


Thank you




Community Hero



Can you show what you did so far? How does your request look? How does your response look?

If my answer helped please click on the 'Accept as Solution' button.
New Contributor

  • Created the Project
  • Setup these values in Excel ( "address1" : "123 Test St", "address2";"Apt16", "city" : "mycity", "state" : "ZZ"}
  • Setup DataSource and configured,
  • Did the Get Data and Run the Post method
  • Getting statusCode 401 , but Parameters are passing correctly even though getting error



New Here?
Join us and watch the welcome video:
Top Kudoed Authors