Contributions
Re: Substitute value in xml in DataGen
I found that I can just do this with a DataGen step that adds one to a property <arg3> <![CDATA[ <order> <customer_invoice>${invoice}</customer_invoice> <ts_created>2013-11-03T17:15:21.000-08:00</ts_created> <priority>0</priority> </order> ]]></arg3>11 years agoPlace ReadyAPI QuestionsReadyAPI Questions661Views0likes0CommentsSubstitute value in xml in DataGen
Hi, I created a DataGen step. I have 4 arguments to my soap endpoint. One of these arguments is a xml document. In this xml document I would like to substitute some values for each run. Is that possible ? In this case the customer_invoice <arg2>${DataGen#requestID}</arg2> <arg3> <![CDATA[ <order> <customer_invoice>201223686</customer_invoice> <ts_created>2013-11-03T17:15:21.000-08:00</ts_created> <priority>0</priority> </order> ]]></arg3>11 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes1CommentThread safe datagen
Hi, I am using a datagen to generate sequence number used in a webservice request. When running this as a loadtest with one thread it work fine, but running with more threads fails. The data from the datagen is getting used by more than one thread. Each request should have new data How to make datagen threadsafe12 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.4KViews0likes0Comments