RE: Testing Two scenarios simultaneously

2010-08-16 Thread Flik Shen
Hi, I think two thread group might not be necessary and alternative solution is the Random Controller. To build two samplers, one for login to do function 1 and another for login to do function 2, under a Random Controller. Then ramp-up 200 users thread group to do testing. Best regards, Flik

Need help for scripting

2010-07-30 Thread Flik Shen
Hi, I want to generate a random id and validate its existing in DB. I have tried using below components but failed. Please give me some suggestions. 1. BeanShell Sampler, add variable with value 1 into "vars" map by following statement. vars.put("LoopCountNum", "1"); 1. While Controller wi

Re: GUI client might not reach server through SSH tunnel

2010-07-26 Thread Flik Shen
Hi, I get deep into code level and find something. In class ClientJMeterEngine and method getEngine, logic is as below. final String name = "//" + h + "/" + RemoteJMeterEngineImpl.JMETER_ENGINE_RMI_NAME; Remote remobj = Naming.lookup(name); if (remobj instanceof RemoteJMeterEn

Re: GUI client might not reach server through SSH tunnel

2010-07-26 Thread Flik Shen
rank" wrote: Don't overdo it. The important questions are simple: 1. What IP do you SSH to? 2. Does the SSH work per NAT? 3. If so, can similar NATs be installed for Jmeter? 4. Otherwise, have you *tried* manipulating /etc/hosts yet? On 07/23/2010 12:18 PM, Flik Shen wrote: > Hi Felix, &g

Re: GUI client might not reach server through SSH tunnel

2010-07-23 Thread Flik Shen
Hi Felix, The server stay at non-public but it not another part of company's network. It locates on customer's network indeed. So route information may not easy to configuring. Maybe topological diagram might be helpful for clarification. I will draw it Monday and share with you. Cheers, Flik

Re: GUI client might not reach server through SSH tunnel

2010-07-22 Thread Flik Shen
of routing. Ask your administrators whether the ports you need can be treated in the same way as SSH. That would be the most simple setup. Otherwise, try the /etc/hosts on the server, I'm not sure whether this can at all work, though. Good Look Felix On 07/22/2010 11:35 AM, Flik Shen wrote: &

Re: GUI client might not reach server through SSH tunnel

2010-07-22 Thread Flik Shen
Hi Felix, It is true that I could visit any service hosted on remote server ONLY after I have login via SSH. I am not very sure about what on earth happens. Maybe my company's firewall block my request to remote server. Maybe my remote server is protected by firewall or something else. If my jme

Re: How to know the ports used by JMeter server and client communication

2010-07-22 Thread Flik Shen
. #server.rmi.localport=4000 Set static Jmeter server listening port. This information will also be registered in RMI Server. It might useful for set tunnel on firewall. Best regards, Flik On 7/21/10 9:57 PM, "sebb" wrote: On 19 July 2010 09:55, Flik Shen wrote: > Hi, > > Could

Re: GUI client might not reach server through SSH tunnel

2010-07-21 Thread Flik Shen
rSocketFactory.java:187) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569) ... 6 more Thanks and best regards, Flik On 7/21/10 2:55 PM, "Felix Frank" wrote: Flik, On 07/21/2010 06:18 AM, Flik Shen wrote: > Hi Felix, > > You're right. It is too ch

Re: GUI client might not reach server through SSH tunnel

2010-07-20 Thread Flik Shen
the Jmeter server, experience suggests that yet another, quite high numbered random port is also opened. In Linux, use netstat -tlnp to find out where Java is listening. Forward the appropriate ports and it Should Work. HTH Felix On 07/20/2010 12:56 PM, Flik Shen wrote: > Hi, > > I set the loc

GUI client might not reach server through SSH tunnel

2010-07-20 Thread Flik Shen
Hi, I set the local port of server to 4000 without other change and start server on box 10.X.X.1. I could successfully run demo case "SimpleTestPlan.jmx" by below instruction. Jmeter -n -t SimpleTestPlan.jmx -l log.jtl -R 127.0.0.1 Following messages are returned. Created the tree successfully us

How to know the ports used by JMeter server and client communication

2010-07-19 Thread Flik Shen
Hi, Could ever who please to explain me what meaning following setting items have? #server_port=1099 #server.rmi.port=1234 #server.rmi.localport=4000 After I uncomment any row, remote sever is unreachable anymore. Could anyone please to tell me what kind setting they aimed? Which ports are used

Re: Is it possible connect remote server via SSH

2010-07-14 Thread Flik Shen
One thing to add on. I checked log file “jmeter.log” and found timeout exception occurred. What might be the root cause? Thanks and best regards, Flik On 7/14/10 4:18 PM, "Flik Shen" wrote: Hi, Now I could successfully visit remote web server via SSH tunnel. In other words, I could

Re: Is it possible connect remote server via SSH

2010-07-14 Thread Flik Shen
H+Tunneling&aq=f&aqi=g10&a><http://www.google.ru/search?hl=ru&newwindow=1&q=SSH+Tunneling&aq=f&aqi=g10&a> ql=&oq=&gs_rfai= Simply I newbie to SSH tunneling too... С уважением, Андрей Похилько -Original Message- From: Flik Shen [mailto:flik

Re: Is it possible connect remote server via SSH

2010-05-26 Thread Flik Shen
ndrey Pohilko" wrote: Tried SSH Tunneling? С уважением, Андрей Похилько -Original Message----- From: Flik Shen [mailto:flik_s...@infosys.com] Sent: Wednesday, May 26, 2010 11:40 AM To: JMeter Users List Subject: Is it possible connect remote server via SSH Hi, My remote test environment o

Is it possible connect remote server via SSH

2010-05-26 Thread Flik Shen
Hi, My remote test environment only allows remote access via SSH connection. I hope run Jmeter GUI from my PC and trigger remote jmeter server via SSH. Is it possible? Best regards, Flik CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFO

Re: Error occurred during CSV Data Set configuration or database request

2010-05-20 Thread Flik Shen
ou run any JMeter tests on that system? The error message "kCGErrorRangeCheck : Window Server ..." is not a JMeter error message. Have you tried googling for the message? I expect you will get a few hits ... On 20/05/2010, Flik Shen wrote: > Hi, > > I have already put every

Re: Error occurred during CSV Data Set configuration or database request

2010-05-20 Thread Flik Shen
se the "sudo -u root" command and then try running the script. -Chaitanya M Bhatt On Tue, May 18, 2010 at 2:20 AM, Flik Shen wrote: > Hi Bhatt, > > Thanks for your suggestion. > The very simple http request could work perfect. > And I also have another DatabaseRequest for fetchi

Re: Error occurred during CSV Data Set configuration or database request

2010-05-18 Thread Flik Shen
ya M Bhatt http://www.performancecomptence.com On Tue, May 18, 2010 at 1:18 AM, Flik Shen wrote: > Hi, > > I ran the test plan SimpleCsvReq.jmx under shell on remote Apple box. > The version of OS is Darwin 8.11.1. > And version of JMeter is 2.3.4 with JDK 1.5.0_07-87 > Following

Error occurred during CSV Data Set configuration or database request

2010-05-18 Thread Flik Shen
Hi, I ran the test plan SimpleCsvReq.jmx under shell on remote Apple box. The version of OS is Darwin 8.11.1. And version of JMeter is 2.3.4 with JDK 1.5.0_07-87 Following message is output and whole test stopped. kCGErrorRangeCheck : Window Server communications from outside of session allowed f