Click here to Skip to main content
15,881,804 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All!

I want to do stress test for my website project, i have try Visual Studio Ultimate 2010 but i cant't add more than 250 Virtual users, i want to test for 1000 users. I have find Visual Studio 2010 Load Test Feature Pack in MSDN but only user guide of it was found, not install pakage.
I have try Apache Jmeter 2.7 but when i run the bat file, an error was print: "java.exe" is not recognized as an internal or external command, operable program or batch file. Error lelvel=9009.
==> Any body have done stress test with over 1k Virtual users can help me ?
Thanks !
Posted

1 solution

To answer one part of this question: you need to pass a full path to "java.exe" to the command you use in the batch file. Alternatively, modify PATH environment variable to add the path to this file. If Java is not installed at all, install it.

As to the number of users set for Apache JMeter, you did not explain what was the problem to add more than 250 users. Did you try to search JMeter documentation?
http://jmeter.apache.org/usermanual/index.html[^],
http://wiki.apache.org/jmeter/[^],
http://wiki.apache.org/jmeter/JMeterFAQ[^],
http://jmeter.apache.org/api/index.html[^].

[EDIT]

Answering the follow-up question about Java installation.
You should first check up the prerequisites of JMeter and check up if it includes Java installation or relies upon the user's installation of it. Usually, the applications rely on the Java Machine by Microsoft or Oracle (formerly Sun Microsystems recently merged into Oracle Corporation).

It looks like you need to learn what Java is. Please see:
http://en.wikipedia.org/wiki/Java_%28programming_language%29[^],
http://www.java.com/en/[^].

Download the Oracle installation:
http://www.java.com/en/download/inc/windows_new_xpi.jsp[^].

—SA
 
Share this answer
 
v3
Comments
NguyenVanDuc 12-Aug-12 23:55pm    
Can you make me clear how can i pass a full path to java.exe to the command you use in the batch file.
Sergey Alexandrovich Kryukov 13-Aug-12 0:26am    
Look at your file, locate "jave.exe" or java. Is there such file name? If there is, replace is with the full path name. If there is no such thing, the method with PATH environment variable can help.
--SA
NguyenVanDuc 13-Aug-12 0:44am    
It does not exist this file, how can i install or copy it ?
Sergey Alexandrovich Kryukov 13-Aug-12 13:49pm    
Please see my updated answer above, after [EDIT].
--SA
NguyenVanDuc 13-Aug-12 22:20pm    
Hi Sergey, thank you very much. I have resolved my problem. I added the license key of VS2010 for load test, so i can test with over 1000 Vusers.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900