WAPT Forum: Creat a dynamic string - WAPT Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Creat a dynamic string Is there a way to create a comma separated list dynamically

#1 User is offline   George 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 26-October 09

Posted 26 October 2009 - 06:08 PM

Hi,

I am testing a site that allows a search using a comma separated list as the criteria in the usl. This list could be 1 item or could go up to 100 items separated by commas.

For example:
http://localhost.here.com/p-ws-public/ws/c...show/moneywatch

or it could be:http://localhost.here.com/p-ws-public/ws/categories/videos/fetch?categoryKey=/ng/tv/show/viva-laughlin,/ng/tv/show/conviction

I want to be able to take items randomly from an external file and build a comma separated list dynamically. Is there some way to do this in WAPT? Can I script this?

Any ideas?
0

#2 User is offline   Sergei Leonov 

  • Advanced Member
  • PipPipPip
  • Group: Administrators
  • Posts: 413
  • Joined: 12-February 08

Posted 30 October 2009 - 09:48 AM

Hi, George

In the current version of WAPT you can initialize a variable by random value from an external file and use it as URL path. But the file should contain already formed URLs. In the next version of WAPT Pro you will be able to use java script and build URL path dynamically during a test.

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

#3 User is offline   mshrestha 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 18-November 09

Posted 19 November 2009 - 07:04 PM

QUOTE (Sergei Leonov @ Oct 30 2009, 09:48 AM) <{POST_SNAPBACK}>
Hi, George

In the current version of WAPT you can initialize a variable by random value from an external file and use it as URL path. But the file should contain already formed URLs. In the next version of WAPT Pro you will be able to use java script and build URL path dynamically during a test.



Hi Which version are you talking here?
I've WAPT Pro 1.0 Built on May 7 2009. Does it have support for the java script?

Manish
0

#4 User is offline   Sergei Leonov 

  • Advanced Member
  • PipPipPip
  • Group: Administrators
  • Posts: 413
  • Joined: 12-February 08

Posted 23 November 2009 - 11:13 AM

QUOTE (mshrestha @ Nov 20 2009, 01:04 AM) <{POST_SNAPBACK}>
Hi Which version are you talking here?
I've WAPT Pro 1.0 Built on May 7 2009. Does it have support for the java script?

Manish


WAPT Pro 2.0 will support java script execution.
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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users