Jump to content


extracting multiple values from a line


  • Please log in to reply
1 reply to this topic

#1 Guest_tennixme_*

Guest_tennixme_*
  • Guests

Posted 23 May 2012 - 02:12 AM

Hi,

For instance if i have something like,

javascript:read('A1','A2','A3','A4','A5');
javascript:read('B1','B2','B3','B4','B5');
javascript:read('c1','c2','c3','c4','c5');

I would like to extract the values as a set as they are used in the different parameters, but randomly chosen from those lines.
For instance,

id: A1
metaID: A2
cID: A3

How would I be able to do this?

#2 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 663 posts

Posted 23 May 2012 - 12:29 PM

In WAPT Pro you can use JavaScript operator for this.
Sergei Leonov
WAPT Project Manager
SoftLogica LLC

Office: +7-383-335-6692
Toll-free: 1-888-364-6797 (for US only)
Time zone GMT +6, EST +11
E-mail: support@loadtestingtool.com
http://www.loadtestingtool.com




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users