Re: Need help in Mobile app recording

2019-11-09 Thread Flavio Cysne
Hi Anil, what's the error you are experiencing? Could you sent us the error message? How are you capturing the requests from your app into JMeter? Are you testing the mobile app using a device emulator or a real device? If it's via Proxy configuration, did you add JMeter Dummy certificate to the

Re: Help Needed in creation of JDBC connection at runtime

2020-07-24 Thread Flavio Cysne
hieve this goal. Best of luck. Be safe and drink water! Flavio Cysne On Thu., Jul. 23, 2020, 11:17 a.m. deepak kodigepalli, < deepak.kodigepa...@gmail.com> wrote: > Hi, > > Is there anyway where we can create a JDBC connection using JDBC Connection > Confiuration during run

Re: How to get Thread Group number

2022-07-11 Thread Flavio Cysne
Hi, _elgato. AfaIk, there is no Thread Group number/sequence/index in JMeter's functions list. As explained by Dmitri, you could use a naming pattern on the Thread Group names and extract the group number using regular expressions. Kind regards, Flavio Gomes On Mon, Jul 11, 2022 at 8:46 AM _elg

How to know if JMeter agent is running a test?

2011-12-15 Thread Flavio Cysne
Hi, I work with distributed testing on a continuous integration environment (Hudson 1.388 + Maven 2 + JMeter 2.4 and Linux servers) and want to develop a page to show if and what agents are running a test. I read the source code of ClientJMeterEngine, RemoteJMeterEngineImpl and StandardJMe

How to know if a remote jmeter agent is running a test?

2011-12-19 Thread Flavio Cysne
Aloha. I have a JMeter distributed testing environment with 1 non-gui client and 60 servers (20 machines with 3 servers each). I want to create a monitoring site to know what servers are been used. I tried to modify the "jmeterengine.nongui.port" property, but it not seems to work. After first run

Re: How to setup a remote jmeter agent as a load generator machine?

2011-12-20 Thread Flavio Cysne
Hasan, JMeter distributed testing guide (PDF) is good reference but it lacks of information. Some quick steps bellow to do a 10-minutes JMeter distributed test run :) if you pretend to use only one server per machine is a just drop-and-run. 1. Decompress JMeter zip inside a folder (remember that

Re: JRE used by Jmeter

2011-12-20 Thread Flavio Cysne
Vineeth, firstly, avoid spaces and special characters at any Java related product installation folder, it may lead to some mysterious problems. Now, if you need to run java -jar ... using that specific jre version, use the complete path to that java.exe jre version. Like this (from prompt): "

Re: some of the transactions fail during concurrent tests

2011-12-21 Thread Flavio Cysne
Have you tried to put a backslash before minus? Checkout \- Contact 2011/12/20 Bhuiyan, Hasan (Hasan) > Deepak, > > Can you please send me a code example for this? I would appreciate it. > > Regards, > Hasan > > > -Original Message- > From: Deepak Goel [mailto:deic...@gmail.com] > Sent:

Re: some of the transactions fail during concurrent tests

2011-12-21 Thread Flavio Cysne
forget what I asked. with or without slash before minus has no difference. If the problem is when you run more than 1 thead, it may be caused by a non thread-safe code or a lack of connection in a pool. What kind of application are you testing? 2011/12/21 Flavio Cysne > Have you tried to

Re: Test through a config file

2011-12-23 Thread Flavio Cysne
Waseem, I think you can try this way: 1. declare a test plan variable that can be assigned remotely and a default value. Like this: ${__P(myvariable,0)} 2. add an If Controller in every thread group and define a distinct conditional value to each one. Like this: (${myvariable} == 0)

Re: Create custom log files

2011-12-26 Thread Flavio Cysne
just add jmeter.properties keys in command line. Like this: ./jmeter -n -t myTest.jmx -l myResults.jtl -Jjmeter.save.saveservice.response_data.on_error=false If you want to change more options, just add more -Jkey=value as you need Hope this helps you. Flávio Cysne 2011/12/26 waseemfa > Just

Re: Script fails

2011-12-26 Thread Flavio Cysne
In JSF applications you have to get the value of javax.faces.ViewState hidden input and in some cases the jsessionid of some resources and use them as variables at POST/GET parameters and URL query string, respectively. 2011/12/26 rajan gupta > Hi > > Attached is the script that does following:

Re: Script fails

2011-12-26 Thread Flavio Cysne
${javax.faces.ViewState} for parameter value for > javax.faces.ViewState no luck. > > Followed this blog to setup extractors: > > http://one-size-doesnt-fit-all.blogspot.com/2010/04/configuring-apache-jmeter-specifically.html > > Thanks > Rajan > > > On Mo

Re: Script fails

2011-12-26 Thread Flavio Cysne
, 2011 at 12:12 PM, Flavio Cysne >wrote: > > > Did you add a Cache Manager and a Cookie Manager in the script? > > > > 2011/12/26 rajan gupta > > > > > Hi Flavio > > > > > > Thanks for response. > > > I have JSESSIONID and view state e

Re: Create custom log files

2011-12-26 Thread Flavio Cysne
@sebb Listeners are disabled during non-GUI test. They only make a difference in GUI mode when they are able export data to files (graphics or text). 2011/12/26 sebb > On 26 December 2011 12:25, waseemfa wrote: > > Just wanted to know is there a way to run JMeter (Non-GUI) mode and > control >

Re: Create custom log files

2011-12-27 Thread Flavio Cysne
@Sayantani No. Listeners, I mean the GUI Listeners menu items, like View Results Tree. 2011/12/27 Sayantani > @Flavio > When you say "Listeners are disabled during non-GUI test" does it mean > that the test results are not saved? > > On 12/27/11, Flavi

Re: What is 'sub-samples'?

2011-12-30 Thread Flavio Cysne
Kyle, when HTTP Request Sampler have the 'Retrieve All Embedded Resources from HTML Files' checked, it generates many sub-samples, one for each content extracted after parsing response(s). This is on example of sub-samples Assertions documentation are talking about. Hope it helps you. Flávio

Re: http request...passing data set from one http request to another.

2012-01-02 Thread Flavio Cysne
Annie, add a Regular Expression Extractor to set a variable value with this data set, and use it as a request parameter value onto the next http request. Hope it helps you. Flávio Cysne 2012/1/2 Annie L > > Hi all, > > I have a http request that would give me a data set which I need to be

Re: JMeter and JSON

2012-01-04 Thread Flavio Cysne
I think HTTP Raw Request, from jmeter-plugins, will do the work. Although not so straight forward as using HTTP Proxy, but it does. You can use "REST Client" Firefox plugin + Firebug to help you build these requests. Hope it helps you. Flávio Cysne 2012/1/4 Deepak Shetty > yes and no. > No - t

Re: "PermSize is a scam" comment in jmeter startup command

2012-01-09 Thread Flavio Cysne
Aloha, Art. What version of JMeter are you using? OOME is occurring when running JMeter GUI or non-GUI (-n parameter)? In GUI mode it may lead to OOME if you use a lot of Listeners. Have you tried changing mode to Batch in jmeter.properties? regards Flávio Cysne 2012/1/9 Art OCathain > OK, tha

JMS/WS/RS SampleSender

2012-01-09 Thread Flavio Cysne
Hi folks, there is any interest over JMeter community to add a JMS/WS/RS SampleSender? What should be a reasonable way to start something like this? I'm interested on contributing to JMeter, but want to hear some comments and suggestions first. Stepping ahead, I want to know if JM

Re: Help required in assertion !!!!

2012-01-10 Thread Flavio Cysne
Nithya, you can use an "If Controller" element, testing your smame variable for non-blank, and put your "Create User" request inside it. if your want to see an error, not just avoid the request, I suggest you to use other "If Controller", testing smame variable for blank, and inside it add

Re: HTTPS Request

2012-01-10 Thread Flavio Cysne
Aloha Lance. Have you checked the option "Retrieve all embedded resources from HTML files" ? If yes, maybe the page you are testing make a direct reference to a file out of https. Regards Flávio Cysne 2012/1/10 Lance Ingram > Hi All > > With my previous recording using 2.4 I noted on re-execua

Re: JMS/WS/RS SampleSender

2012-01-11 Thread Flavio Cysne
@sebb The main idea is to allow sample results to be sent to a JMS, WS, RS or whatever receiver and make an on-the-fly web monitor using charts. Apologies if I misunderstood the purpose of SampleSender. Regards. Flávio Cysne 2012/1/11 sebb > On 9 January 2012 18:11, Flavio Cysne wr

Re: JMS/WS/RS SampleSender

2012-01-11 Thread Flavio Cysne
sebb > On 11 January 2012 16:08, Flavio Cysne wrote: > > @sebb > > > > The main idea is to allow sample results to be sent to a JMS, WS, RS or > > whatever receiver and make an on-the-fly web monitor using charts. > > > > Apologies if I misunderstood the pur

Re: JMS/WS/RS SampleSender

2012-01-11 Thread Flavio Cysne
t: Is the JMeter community interested in a way of sending on-the-fly sample results to JMS/WS/RS receiver application? Regards Flávio Cysne 2012/1/11 sebb > On 11 January 2012 16:58, Flavio Cysne wrote: > > We are planning on an on-the-fly web monitoring and maybe geographically &

Re: Cannot replace the variables in a SOAP XML sampler when the request is read from a file.

2012-01-26 Thread Flavio Cysne
Maybe some If Controller's would help to support this dynamic sellection. 2012/1/26 Nirodha Pramod > Hi Philippe, > > Thanks for the response. I need to read the request from a file since the > request is dynamically selected. Have to figure out some other way to map > those values in the reques

Re: CAS

2012-01-30 Thread Flavio Cysne
Maybe this link can help you https://wiki.jasig.org/display/CASUM/Apache+JMeter Regards. Flávio Cysne 2012/1/30 Muzaffer Tolga Özses > Hi, > > Is it possible to test servers behind CAS? > > -- > Muzaffer Tolga Özses > Sabancı Üniversitesi > www: > http://people.sabanciuniv.edu/**mtozses

Re: CAS

2012-01-30 Thread Flavio Cysne
what type of CAS are you using? OpenID, JOSSO, SAML, OpenAM? Is this type of CAS you are talking about: http://en.wikipedia.org/wiki/Central_Authentication_Service ? 2012/1/30 Flavio Cysne > Maybe this link can help you > https://wiki.jasig.org/display/CASUM/Apache+JMeter > > Regar

Re: CSV DataSet Config

2012-02-02 Thread Flavio Cysne
ed to use -G directive Regards. Flavio Cysne 2012/2/2 sergio > Il 02/02/2012 06:10, Deepak Shetty ha scritto: > > I believe relative paths are relative to the script location >> > No. > In my experience, the path is relative to the directory from where you > launch J

Re: Sharing arrays between threads.

2012-02-10 Thread Flavio Cysne
Eric, Write a customized function to JMeter and manipulate a map of values inside it. Store it in JMeter properties scope. Regards. Flavio Cysne 2012/2/10 Eric Olson > Thanks for the swift reply, Deepak. > > I had a similar thought about the CSV thing, but I'm still running in

Re: JMeter broke on my machine?

2012-02-13 Thread Flavio Cysne
David, seems that your jmeter distribution don't have the logkit jar. Try to get a newer 2.5.x jmeter version or download logkit jar directly. Hope it helps you. Flávio Cysne 2012/2/10 David Luu > Hi, > > Was wondering if anybody might have ideas why JMeter broke on my machine. > Was working f

Re: J Meter fails when thread count is increased.

2012-03-01 Thread Flavio Cysne
We used to execute distributed testing using JMeter agent (jmeter -s) loading almost 400 threads each. On that case we were using HEAP with 1,5GB, under a virtualized Linux CentOS with 2 cores processors and 3GB RAM box. Keep in mind that for better results the cpu/memory usage don't be higher tha

Re: J Meter fails when thread count is increased.

2012-03-02 Thread Flavio Cysne
If you can monitor cpu, memory and network usage; and also jvm cpu, heap, gc usage would be nice to see the results and know if your box can hold these load. It could be used as a parameter of future tests of members of this list. Regards. Flavio Cysne. 2012/3/1 Naresh Kumar > Tha

Re: Allowing only one thread to make a request at a time

2012-03-05 Thread Flavio Cysne
Put the sampler you want to have only one user at a time inside a constant throughtput timer (CTT) and before this add a synchronizing timer, with 30 in "Number of Simultaneous Users to Group by" field. You'll need to calculate the value of "Target Throughput" field of CTT 'cause it's per minute. M

Re: Constant Throughput Timer and test duration conflict

2012-03-12 Thread Flavio Cysne
Just to know if my thoughts is on the right way, for this case. If you put a delay after your HTTP Sampler with a dynamic delay timing, considering you could use a post-processor to, say, calculate time spent on the request and set the delay time to (6 - SpentTime). This way you'll have your 1

Re: Command-line NON-gui mode not working but command-line GUI mode is OK

2012-03-22 Thread Flavio Cysne
"Note that you can use the -R command line option instead to specify the remote host(s) to use. This has the same effect as using -r and -Jremote_hosts={serverlist}. E.g. jmeter -Rhost1,127.0.0.1,host2" User's Manual is your friend ;)

Re: Query : How to execute Thread Groups Randomly

2012-03-22 Thread Flavio Cysne
I should do this way: - Add to the Test plan a Random Variable - Minimum: 1 - Maximum: 15 - Name: testNumber - Use only one Thread Group - Threads: 5 - Ramp-up: 0 - Loop: 1 - Put each group of test samplers inside an If Controller - Condition: (${testNumber} === n), whe

Re: Providing Windows Authentication

2012-03-29 Thread Flavio Cysne
Have you tried this solution http://stackoverflow.com/questions/1793649/jmeter-with-windows-authentication? 2012/3/29 sebb > On 29 March 2012 11:22, vineeth wrote: > > Yeah thats right. JMeter will log in with credentials of the user > > running the test. > > So I guess the authentication is be

Re: Suggestion regarding Java_Opts value

2012-04-11 Thread Flavio Cysne
First, use -XX:MaxPermSize instead of -XX:PermSize. If this JAVA_OPTS is from your server (not from jmeter JAVA_OPTS shell variable), it'll affect the performance of your server, but it could be for good or for bad. If your box have much more than 6GB, say 10GB or more, and you're using a 64-bit J

Re: Suggestion regarding Java_Opts value

2012-04-11 Thread Flavio Cysne
va.net/docindex.html http://docs.oracle.com/javase/7/docs/technotes/guides/visualvm/applications_local.html http://java.dzone.com/articles/profile-your-applications-java Regards, Flavio Cysne. 2012/4/11 Nisha G. > Hey Thanks Flávio for such a brief information. > > Actually our per

Re: Jmeter Starts Killing Threads after Client CPU reaches 50% Usage

2012-04-11 Thread Flavio Cysne
are you testing a web aapplication? could it be session expiration problem? try to profile your server. 2012/4/11 sebb > On 11 April 2012 16:30, MiguelFonseca > wrote: > > I Guy’s > > > > I was running Jmeter 2.6 r1237317 on a Windows XP 3. > > Microsoft Windows XP [Version 5.1.2600] > > (C) Co

Re: Problem recording HTTPS with JMeter Proxy (java.io.EOFException)

2012-04-17 Thread Flavio Cysne
you. Flavio Cysne 2012/4/17 Abraham Iglesias (redsauce) > I tried both spoofing and not spoofing. > > options in Jmeter Proxy: > > Capture HTTP Headers > Use keep Alive > Retrieve All Embedded Resources from HTML > > I have not modified jmeter.properties. I'm using d

Re: Downloading resources via. AJAX/CSS imports in HTTP Sampler?

2012-04-19 Thread Flavio Cysne
You can capture a jmeter script using the JMeter HTTP Proxy Server and configuring proxy port in a browser. This way you can navigate and have your actions reproduced as HTTP Samplers in your jmeter script. Using a browser you'll be sure that every resource imported/loaded by ajax, javascript or wh

Re: Conditional redirection

2012-04-24 Thread Flavio Cysne
I think you'll need no loops if, on the second sampler, you have "Follow Redirections" checked. Isn't it? Hope it helps you. Flavio Cysne 2012/4/24 Marcelo Jara > > Makes sense. thanks. > > > Date: Mon, 23 Apr 2012 15:05:57 -0700 > > Subject: Re: Condi

Re: JSON in jmeter

2012-04-24 Thread Flavio Cysne
Some HTTP Samplers and Regular Expression Extractor will do the work, I suppose. What exactly are you expecting of your script to do? 2012/4/24 Britto Christy > Hello everyone, > > > Is there any way to record JSON with jmeter. If so Please provide me some > guidelines/steps/links > > -- >

Re: Unable to load WSDL with https URL - URGENT

2012-04-24 Thread Flavio Cysne
rg/jmeter/usermanual/component_reference.html#SOAP/XML-RPC_Request instead." Hope it helps you. Flavio Cysne 2012/4/24 Naresh Kumar > Hi , > > Can someone please help with this. > We are unable to load WSDL URL with https , the error message displayed > while loading the sec

Re: URISyntaxException

2012-04-24 Thread Flavio Cysne
Try this http://test.thisisatestabc.com/resources?type=JS&r=/js/vendor/html5shim.js&r=/js/vendor/respond.js&r=%7Cy%7Cyui%2Fyui-min.js&r=xy-yui-config&r=/js/widgets/external.js&r=/js/core/utility/domready.js Regards. Flávio Cysne 2012/4/24 Marcelo Jara > > Hello > > Some queries in my data set

Re: J Meter - SSL Recognisation

2012-04-27 Thread Flavio Cysne
JMeter 2.6 SSL Manager supports adding PKCS12 digital certificates or configuring a keystore in system.properties 2012/4/27 Naresh Kumar > How do we recognise keystore in J meter via SSL manager,any help > > Regard's > Naresh Kumar > > > > > > Information con

Re: J Meter - SSL Recognisation

2012-04-27 Thread Flavio Cysne
certificates. > > What is the error you are getting? > > > Also I tried creating key store in JAVA in bin and tried in lib as > well...but some how J meter doesn't recognise this.. :( > > > > Regard's > > Naresh Kumar > > > > --

Throughput Controller - OufOfMemory when using "Total Executions"

2012-05-14 Thread Flavio Cysne
Throughput: 80 (25 JMeter servers to a total of 2000 requests) My environment: JMeter 2.4 r961953 (1 Client and 25 Servers) 26 Virtualized servers with Linux CentOS 5, 2 Cores processor and 6GB RAM (1 JMeter per machine) JVM 1.6.0_23 -Xmx=2g Thanks in advance. Flavio Cysne

Re: Web-Interface to create Test-Plans

2012-05-16 Thread Flavio Cysne
A web interface for JMeter would be very useful if we are talking of mobility. Let me explain. If you deploy JMeter in a distributed environment, using cloud or not, and you want to start a test on a remote site (out of your intranet) and you are not in your desk or not in front of a computer or no

Re: Web-Interface to create Test-Plans

2012-05-16 Thread Flavio Cysne
ork in progress. :) Regards. Flávio Cysne 2012/5/16 Flavio Cysne > A web interface for JMeter would be very useful if we are talking of > mobility. Let me explain. If you deploy JMeter in a distributed > environment, using cloud or not, and you want to start a test on a remote > site

Re: Require help in Regular Expression!!!

2012-05-25 Thread Flavio Cysne
the dot character in a regex will produce a hunger expression, try to avoid it. use, instead, \d for numbers only pattern -> equipmentPartId":"(\d+?)" using a negation pattern is a better way to avoid the dot -> productPartName":"([^"]+?)" 2012/5/25 Felix Frank > On 05/25/2012 09:10 AM, venkat

Re: urgent help needed....!

2012-05-25 Thread Flavio Cysne
Use a Debug Sampler to know if ${STATUS} is returning "COMPLETED" by any chance. You could use a Counter and limit the While Controller to a maximum number of iteractions. Hope it helps you. Flávio Cysne 2012/5/25 venkatakurathi > ${__javaScript("${STATUS}"!="COMPLETED")} > > This turned into

Re: Certificate Based Authentication

2012-05-28 Thread Flavio Cysne
Have you tried with truststore configuration commented? Leave keystore as you configured. Truststore in JMeter 2.6, by default, is using trust all certificates policy, then there is no need to configure it. Have you tried without these configurations and adding the certificate on JMeter's SSL Mana

Re: need help with regular expression(regexp tester)

2012-05-28 Thread Flavio Cysne
Where did you add this Regular Expression Extractor? Try to use it, only, inside the sampler with the desired json response and not out of it. JMeter Test Plan is hierarchical and, if you add the Regex Ext just bellow a Logic Controller, it will repeat the test in every sampler inside the grouping

Re: SamplerError-Response code: Non HTTP response code: java.net.SocketException Response message: Non HTTP response message: socket closed

2012-05-29 Thread Flavio Cysne
I think could be the connection wait timeout of your server. Enable debug log in your server and look for connection/socket errors. 2012/5/29 Bharti Munjal > I am running a load test for 1000 users and jmeter is showing me this > exception for some requests : > > *SamplerError-Response code: Non

Re: please post regexp for this

2012-05-29 Thread Flavio Cysne
if this wierd string is inside a hidden input like this you could try this: id="javax\.faces\.ViewState" value="([^"]+?)" Hope it helps you. Flávio Cysne 2012/5/29 Shaba K > What are you trying to achive. > > Are you validating or getting value of the attribute ? > > Cheers, > S > > On Tue,

Re: Certificate Based Authentication

2012-05-30 Thread Flavio Cysne
Have you got any problem after you added keystore back into system.properties? Regards, Flávio Cysne 2012/5/29 Frank Wilson > > Thanks Flávio > I removed the trust store config because it wasn't required and followed > the steps you listed. > First I tried used the SSL Manager and Keystore conf

Re: distributed test generate many summary reports

2012-06-01 Thread Flavio Cysne
Claudio, I guess your file name expression is been evaluated every time it is accessed. I suggest you to try mode=Batch on jmeter.properties, even to reduce network traffic, and, if it still saves more than one file, add this file name expression inside the Test Plan's User Defined Variab

Re: how to wait for specified response text

2012-06-01 Thread Flavio Cysne
While Controller and Regular Expression Extractor would do the work. While Controller will evaluated until your response have the text "congrats for purchase" and this text can be extracted using the Regular Expression Extractor. Give them a try. Hope it helps you. Flávio Cysne 2012/6/1 Rajiv N

Re: distributed test generate many summary reports

2012-06-04 Thread Flavio Cysne
ra,forget)}.csv > > At command line the parameter is passed as > > DATA=$(date +%Y-%m-%d"_"%H.%M.%S) > -Jdata_hora=$DATA > > It works very well, thanks > > Claudio > > > Flavio Cysne wrote > > > > Claudio, > > > > I guess yo

Re: Using SSL authentication certificates

2012-06-08 Thread Flavio Cysne
Shmuel, google this list archive for SSL Manager or https certificate, it has already been answered before. Any way, here we go. I'm using JMeter 2.6 as an example, then https tests with digital certificates only works with HttpClient 3.1. As said in JMeter 2.7 changelog, it works with both, Http

Re: Jmeter unable to complete a test even after hours

2012-06-08 Thread Flavio Cysne
Satheesh, try it after defining a response time out value in your HTTP Requests, let's say 120 seconds (Firefox default response timeout). I have experienced many times this issue, but I'm still not able to say that is a JMeter problem. Sometimes server do not send the response and, for some r

Re: Updatiung CSV Parameters in Each reauest in Iteration

2012-06-12 Thread Flavio Cysne
If you are running a distributed testing, split your csv file content among as many files as is the number of remote servers used. Copy each file to a different jmeter agent, but on the same path. If needed, configure this path in your JMeter Test Plan. This way each remote server will use a distin

Re: JMeter threading model

2012-06-13 Thread Flavio Cysne
Hi Kirk, just a thought on this case, and if you start as many JMeter instances (using servers or not) as needed, once at a time, to increase the load, let's say, pseudo-dynamically? I think this way you could, in some way, achieve the desired load. The "hard work" will be on merging jtl

Re: SOAP ssl client certificate

2012-06-14 Thread Flavio Cysne
JMeter version? 2012/6/14 Michele Mase' > I need to test some webservices using the sampler WebService(SOAP) Request. > The webservice is protected by a client certificate verification directive > under a ssl vhost. > https://www.example.com/webservice/webservice1?wsdl > > >#SSLVerifyCl

Re: JMeter threading model

2012-06-15 Thread Flavio Cysne
I have tested something in JMeter that could achieve a dynamic threading model and there was no need of new implementations. Basically, I have this structure: 1. Test Plan: { variables : [ {name: "maxThreads", value: 5}, {name: "currentThreads", value: 1} ] } 2. | - Thread Group: { threads: "${ma

Re: JMeter threading model

2012-06-15 Thread Flavio Cysne
Errata: The first "If Controller" is executed and update a property named "currentThreads" ... 2012/6/15 Flavio Cysne > I have tested something in JMeter that could achieve a dynamic threading > model and there was no need of new implementations. > > Basical

Re: JMeter threading model

2012-06-17 Thread Flavio Cysne
Post entry in my blog: http://flaviocysne.blogspot.com.br/2012/06/how-to-dynamically-increasedecrease.html It's an unfinished work, but it's suffice to make what is proposed. Comments and constructive criticism are welcome. Hope it helps you. Flávio Cysne 2012/6/15 Flavio Cysne

Re: Problem with HTTPS recording

2012-07-04 Thread Flavio Cysne
Have you set up JMeter Proxy to use HC3.1 instead of Java HTTP implementation? If you are using JMeter 2.7 you can use HC4 too. 2012/7/4 niraj > Yes i did. But when my application reaches to Ping...it returns me blank > page. Without proxy i am getting proper page. > > -- > View this message in

Re: Regular expression extraction

2012-07-05 Thread Flavio Cysne
\?RelayState=\w+&SAMLart=\w+%2\w{13}(.+)%3D 2012/7/5 Niraj > One more help please > > > https://abcdtest/sp/ACS.saml2?RelayState=MvQd3EQccLtVfhFDLyHwEQLbTLVz7Y&SAMLart=AAQAALMcsRYkKm5hGFT%2BnegwZpYrTeF8 > zbaK6zuRrOnIE%2FelyfyHAWRBAMk%3D > > Now i want to extract zbaK6zuRrOnIE%2FelyfyHAWRBAMk >

Re: Regular expression extraction

2012-07-05 Thread Flavio Cysne
Use this instead of my previous suggestion \?RelayState=\w+&SAMLart=\w+%2B\w{12}(.+)%3D previous one was using %2 when the correct is %2B 2012/7/5 Flavio Cysne > \?RelayState=\w+&SAMLart=\w+%2\w{13}(.+)%3D > > > 2012/7/5 Niraj > >> One more help please >>

Re: While Loop condition specification

2012-07-05 Thread Flavio Cysne
@sammuthukattil have you tried exactly as Venkat suggested? function names are case sensitive try one of these ${__javaScript("'${imp_Status}'!='finish'",dummy)} ${__javaScript(eval("'${imp_Status}'!='finish'"),dummy)} Hope it

Re: Regular expression extraction

2012-07-06 Thread Flavio Cysne
racted value from regular expression is > > :7bx%2FpCgyzpctt12b68RupAkJAMk > > > > %2 which i am getting in extracted response is not required. So how i > > can avoid that using same regular expression which will work both > > the responses. > > >

Re: JMETER Java Code, how to view?

2012-07-06 Thread Flavio Cysne
You have three ways to get JMeter source code: 1. download a compressed file with the source code from http://jmeter.apache.org/download_jmeter.cgi (as mentioned by Dzmitry) 2. view it online at http://svn.apache.org/viewcvs.cgi/jmeter/ 3. use svn to download all source code files and resources. SV

Re: Regular expression extraction

2012-07-06 Thread Flavio Cysne
%2F (slash) and %3D (equal sign) and just part of it? 3. If you really want only part of the first value, between %2B and %2F, what's the range of the substring? Regards. Flavio Cysne 2012/7/6 Niraj > Hi Flávio, > > Thanks for the response. I will explain you in detail. > > My

Re: Regular expression extraction

2012-07-06 Thread Flavio Cysne
Niraj, If you are using an HTTP Request and ${SAMLart} is a parameter (name or value), you could change this AAQAALMcsRYkKm5hGFT+negwZpYrTeF8${SAMLart} to this ${SAMLart} You'll have to 1. modify the Regex to \?RelayState=\w+&SAMLart=([%a-zA-Z0-9]+)%3D 2. Uncheck "Codify?" column of t

Re: Error while running Jmeter script

2012-07-11 Thread Flavio Cysne
Niraj, some question come up when this kind of error occurs: 1. How many threads have you started? 2. Can you post server error logs, if any? 3. If starting many threads, have you decreased the load to see if and when this error stops? 4. If starting many threads, have you inc

Re: Error while running Jmeter script

2012-07-13 Thread Flavio Cysne
Just to check. Did you test using Java, H3.1 and H4 implementations? All implementations throws that error? Regrads. 2012/7/13 Niraj > Hello Sebbaz, > > I am running test for single user and i am not able anything in error log > of server. > > Frequency is any one random request per on load tes

Re: [Bug 52601] CTRL + F for the new Find feature

2012-07-13 Thread Flavio Cysne
CTRL + W, thinking of something like Function Wizard or CTRL + F1, CTRL as function key and F1 from Help :) 2012/7/12 Shmuel Krakower > Hello Community, > > We want to change the shortcut combination of CTRL+F to open the new search > box instead of the current behavior of it opening the Functio

Re: OS process sampler

2012-07-23 Thread Flavio Cysne
Did you try adding an & at the end of your command? If only the & doesn't work try appending this: >/dev/null 2>&1 & Hope it helps you. Flávio Cysne 2012/7/23 Shay Ginsbourg > Hi, > > While working with the OS process sampler, the control never returns to > Jmeter - > > For example, if the OS

Re: How to send http ebxml messages

2012-07-25 Thread Flavio Cysne
To work with digital certificates you can use JMeter 2.6 with HC3.1 or JMeter 2.7+ with HC4. I think HTTP Request sampler with the ebXML content inside Raw Post Body field is suffice. Regards. 2012/7/25 Sameera Rao P > Hi, > > > > Using Jmeter I want to send HTTP ebxml request with soap header

Re: High CPU and memory consumption when load testing with HTTP Sampler

2012-07-30 Thread Flavio Cysne
Can you provide us with your box configuration? OS distribution and version, JDK version, JMeter version, Hardware spec. Try with other configurations of GC like -Xincgc, -XX:UseParallelOldGC, -XX:UseConcMarkSweepGC, etc (one at a time) and compare the results. Try with -XX:AggressiveHeap (JDK 1.4

Re: High CPU and memory consumption when load testing with HTTP Sampler

2012-07-30 Thread Flavio Cysne
it helps you. Flávio Cysne 2012/7/30 unjc email > Flavio, my box has 12GB RAM and 16-processors installed with > Centos6.2, JDK 1.6 and Jmeter 2.7. > > > Thanks. > > On Mon, Jul 30, 2012 at 7:39 AM, Flavio Cysne > wrote: > > Can you provide us with your box configura

Re: HTTP request sampler option "Content encoding"

2012-08-10 Thread Flavio Cysne
HTTP Request sampler's Content Encoding field is related to Accept-Charset header. UTF-8, UTF-16, ISO-8859-1, etc. If you want to allow gzip you should use an HTTP Header Manager inside you sampler with a parameter/value like one of these: Accept-Encoding/gzip or Accept-Encoding/gzip,defalte or so

Re: HTTP request sampler option "Content encoding"

2012-08-10 Thread Flavio Cysne
I think my answer was not so clear. Content Encoding field is **related to** Accept-Charset, but don't take its place. Content Encoding is used on response's content, not to override Accept-Charset header. My knowledge of JMeter source is little, then I may have pointed you in a wrong direction.

Re: Performance test on Internal web Application (LAN)

2012-08-17 Thread Flavio Cysne
Did you try to use java proxy settings on jmeter command line or jmeter.sh VMARGS variable? -Dhttp.proxyHost=proxyhostURL -Dhttp.proxyPort=proxyPortNumber -Dhttp.proxyUser=someUserName -Dhttp.proxyPassword=somePassword Hope it helps. Flávio Cysne 2012/8/17 Samaraweera, Ravinda > Dear All, > >

Re: Performance test on Internal web Application (LAN)

2012-08-20 Thread Flavio Cysne
, Ravinda > Hi Flavio, > > Thanks, > Really appreciate if you can tell me the steps to modify the file. > If I copy the same and change the proxyhosturl, proxyPortNumber, > someUserName, somePassword would it be fine? > > Chi. > > -Original Message- > From:

Re: Errors in JMeter Test Plan execution

2012-08-23 Thread Flavio Cysne
Divya, errors should be acceptable since your non-functional requirements says so. I work with a performance testing team and although, personally, I target 100% success rate, application's non-functional requirements is the primary goal. HTTP 500 Internal Error is a server/application er

Re: IOException: Error writing to server

2012-08-28 Thread Flavio Cysne
Aloha. Something went wrong in your testing environment, where JMeter is deployed/installed. HTTPJavaImpl.readResponse got an IO

Re: Load testing a Load Balanced web application

2012-09-04 Thread Flavio Cysne
Some tips on my experience with testing a load balanced web applications/sites - Use as many JMeter slave instances as you can, each one in a different virtual machine (distinct IPs). This can help your load balance software/hardware to distribute the load more evenly. - Do not expect the load bal

Re: Session handling in a Load balanced server

2012-09-04 Thread Flavio Cysne
You could change LB strategy to make same client IP always route to the same server. http://en.wikipedia.org/wiki/Load_balancing_(computing)#Persistence 2012/9/4 Nirodha Pramod > Hi, > > I have a scenario to test a web server, where there are 2 web servers > fronted with a load balancer. My web

Re: Response message: Forbidden

2012-09-10 Thread Flavio Cysne
Using what I have experienced during tests using JMeter, HTTP 403 Forbidden could be caused by: - a missing HTTP Cookie Manager, if your application session is cookie-based - a session variable that needs to be sent in later requests (POST or GET parameters): add an post-processor, Regex for examp

Re: Setting values of variables based on output of external commands

2012-09-10 Thread Flavio Cysne
Does "OS Process Sampler" sampler apply to this case? 2012/9/7 sebb > On 7 September 2012 21:07, Mikhail T. wrote: > > Hello! > > > > Can values of variables used by JMeter be set from executing external > > commands (sort of like back-tick substitution on shell command-line)? > > Do you need t

Re: running JMeter server on unix

2012-09-10 Thread Flavio Cysne
Using DHCP could be a problem if hosts IPs are not fixed on the DHCP server. As discussed here You could try this command line on JMeter

Re: WARNING: Couldn't flush user prefs?

2012-09-12 Thread Flavio Cysne
If using Oracle JDK you should update to 7(b05) or 1.6.0_23 at least. Accordingly to this issue track, this bug was fixed in these versions. In case of using JDK 7, update to latest version

Re: help-Regular expression extractor

2012-09-13 Thread Flavio Cysne
If these numbers will always be at the end of the Location URL, you could use this: Location:.*/(\d+)\s*$ If is not guaranteed that these number will be in the last part of Location URL, try this instead: Location:.*/(\d+)\p{Punct}? Obs.: I'm considering that there will be only one part of the UR

Re: help-Regular expression extractor

2012-09-13 Thread Flavio Cysne
Sorry, the example I wrote are wrong because I forgot to escape the slash character. See below: Location:.*\/(\d+)\s*$ Location:.*\/(\d+)\p{Punct}? Location:.*\/pub\/WS\/(\d+)\s*$ Location:.*\/pub\/WS\/(\d+)\p{Punct}? 2012/9/13 Flavio Cysne > If these numbers will always be at the end of

  1   2   3   4   >