Contributions
Required to manually add ${DataSource Input# in the request body for 170 fields?
Hi all, First of all, I've read the techcornerchallenge on this, but it doesn't achieve the result that I want. I love the new functionality of ReadyAPI that you can have a request and it creates the data source properties from that. The problem for me is the conversion. I have more than 100 fields that need to look like: <Name>${DataSource Input#Name</Name> <Age>${DataSource Input#Age</Age> Other than copy-pasting, is there a way in ReadyAPI (or in a different way) to get this done? Thanks in advance! FrankSolved1.5KViews0likes3CommentsRe: Required to manually add ${DataSource Input# in the request body for 170 fields?
Hi Rich, I struggled a bit with making a subject, but I'll try again 🙂 What I mean is: I have a datasource with 100 fields. For example name, age, gender, address etc. My request (because it comes from a wsdl) is: <name>Name</name> <age>10</age> etc. To make the request work with a datasource I need to change the body of my request to be: <name>${DataSource Input#Name</name> <age>${DataSource Input#age</age> etc. So far I've been always putting this (${DataSource Input#) manually in the body of the request. Does this mean that I have to do that for 170 fields, or is there a faster/better way?4 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.5KViews0likes1Comment