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?
Page 1 of 1
Creat a dynamic string Is there a way to create a comma separated list dynamically
#2
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.
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
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
#3
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.
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
#4
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
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
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
Share this topic:
Page 1 of 1

Help










