Highlighted
Valued Contributor.
Valued Contributor.
633 views

How to pass test data dynamically changing soap input parameters

Hi Team,

I am trying to develop web services scripting in vugen but here i want to  pass test data dynamically as soap input parameters are changing like as below,bze at a time on POS WE CAN SWIPE MULTIPLE CARDS all cards values are going under this reqs input parameter as below examples.How can i work with this type of requests in virtual user generator scripts.

Single Request:

<ReqDtls>
<vReqs>
<amount>1.00</amount>
<cardNo>8897654778999</cardNo>
</Reqs>
<cardType>caredit</cardType>
</ReqDtls>

Multiple Requests:

<ReqDtls>
<vReqs>
<amount>1.00</amount>
<cardNo>8897654778999</cardNo>
</Reqs>
<vReqs>
<amount>2.00</amount>
<cardNo>890897654778999</cardNo>
</Reqs>
<cardType>caredit</cardType>
</ReqDtls>

0 Likes
1 Reply
Highlighted
Frequent Contributor.
Frequent Contributor.

Re: How to pass test data dynamically changing soap input parameters

Hello

You can use LR parameter to parameterize your script. please refer to the online help for more details about LR parameter.

http://vugenhelp.saas.hpe.com/en/12.53/help/WebHelp/Content/VuGen/tocs/113750_toc_parameters.htm#

Regards,

Bingle 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.