>to assert dynamic ones.
You can.
Suppose you have a CSV file that has
username , password , firstName
When your script logs the user in , you could assert text for e.g. that
Says Response Context contains Welcome ${firstName} - so you can make your
assertions data driven , dynamic if you need
SOm
Hi
> Can i somehow access the URL from the Sampler before it get executed to i
can do 2)?I think there is a way to access the Jmeter Sampler Variables -
right?
I am not sure I understand but
a. The HTTP Sampler can take a variable for the path field- So if you have
dynamically generated value , you
Hi
By parallel sampler , do you mean a sampler that is running on a separate
thread ? If yes then there isnt any easy way - In such cases its better to
capture the raw data and aggregate using your favorite analytic tool
If you just mean the next sequential sampler which runs on the same thread,
y
The __time function accept a variable name that you can pass in to save the
value generated at that time into a JMeter variable(
https://jmeter.apache.org/usermanual/functions.html#__time ) .
${__threadNum}${__time(ddMMHHmmssSSS,yourVariableName)}
Then in your DB Query you can just pass that as
se is given in the response body of a listener for ex:- *View
> Result Tree*
>
> Regards,
> Divye Mahajan
>
>
> On Sat, Oct 12, 2019 at 7:29 AM Deepak Shetty wrote:
>
>> The __time function accept a variable name that you can pass in to save
>> the value generated a
>
> JSON Request ( with custom field
> ${__threadNum}${__time(ddMMHHmmssSSS}) --> JSON Response False -->
> failure.
>
> Warm Regards,
> Manish Taneja
>
>
> On Tue, Oct 15, 2019 at 4:16 AM Deepak Shetty wrote:
>
> > Hi
> > If your ques
Hi
attachments dont make it to the mailing list - in general if you need to
reuse some value that is regenerated then you need to store it the first
time into some memory
For e.g. if you used
https://jmeter.apache.org/usermanual/functions.html#__Random then you would
use variable name to store it a
Hi
I think you are asking 2 different questions here
a. How to generate a protobuf request in JMeter - That would need you to
use the Java API to generate the request -
https://developers.google.com/protocol-buffers/docs/javatutorial
b. How to actually send it to the API - Assuming this is still HT
Hi
you should be able to do something like (not tested) - also be careful with
your paths - I believe they will be relative to JMeter's bin directory so
you might want to try with absolute paths first(for your .key and .crt
files)
String path = sampler.getURL();
String s = "openssl smime -in " + pa
Hi
I dont think thats an official supported plugin.
However your question is really a Maven question (what should I do when
different libraries refer to different version of the same jars?) - see for
e.g.
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependen
Hi
if you want to pass complex data between thread groups /threads , you can
a. Use properties like you mentioned. Complex data needs complex schemes
(e.g. Store a JSON string which can have an array of objects and parse it)
- Messy for most,non simple, use cases
b. Use a plugin like
https://jmeter
Hi
whats the stack trace ?
if you arent using any plugins etc then you might want to file a bug with a
sample that replicates the problem
regards
deepak
On Fri, Jan 3, 2020 at 1:01 PM Alan Tan wrote:
> Hello Developers,
>
> I have a question regarding throughput controllers in Jmeter. I've read
Hi
the error represents the fact that the connection between your
client(Jmeter) and your application broke .
The next thing you need to see is whether its your client that is getting
limited or your application.
So in your case if you test 100 threads and you dont get the issue and you
try 200 and
Hi
That is the JMeter behavior. You have different ways to get this to work
a. Designate one JVM server to be the "single thread" server that runs the
test by a property that is only on that server , wrap the test step in an
IF
b. Designate one server to be the "single thread" server that runs th
double quotes dont have to be escaped.
name\s*=\s*"responseSize"\s*value\s*="([^"]*)"
Note that Regexs are case sensitive (unless you add a flag to make them
insensitive and its also very easy to make a mistake with ' or " )
I suggest you add a debug sampler after your HTTPSampler (ensure your re
ing was copied and pasted into the thread from the sampler.
>
>
>
> On Mon, Jan 2, 2012 at 9:55 PM, Deepak Shetty wrote:
>
> > double quotes dont have to be escaped.
> > name\s*=\s*"responseSize"\s*value\s*="([^"]*)"
> >
> > Note that
whats the complete stack trace in jmeter.log?
On Tue, Jan 3, 2012 at 8:34 AM, Basim Baassiri wrote:
> Hi
> I'm using the http cache manager and my http sampler is set to retrieve all
> embedded resources. In addition, i have an assertion to check the response
> code of 200
>
> This is what I'm
where in the documentation do you see this?
regards
deepak
On Tue, Jan 3, 2012 at 9:00 AM, Raghuram . wrote:
>
> I have got a directory of xml-rpc content files that I need jmeter to take
> up and post.
> The 'Help' documentation from within the software says that it is possible
> to specify ju
yes and no.
No - there isnt an out of box plugin which understands the JSON format
Yes - JSON is ultimately text that is part of the request/response and
Jmeter can do that so you can test web applications that use JSON. You also
have various post processors (which can use JSON java libraries to pa
Hi
I usually find it much easier to post process the result file to remove
whatever I dont want. Its fairly easy to do this for both XML and CSV
regards
deepak
On Thu, Jan 5, 2012 at 4:41 AM, waseemfa wrote:
> Sebb,
>
> Thats one way of approaching the problem and its really a great way of
> do
Hi
possible( but not directly with a CSV as you have modeled it since jmeter
doesnt deal with variable number of columns in CSV data set config)
http://theworkaholic.blogspot.com/2010/03/dynamic-parameters-in-jmeter.htmlshows
you how to add dynamic parameters.
The additional step is to say have y
Hi
you can workaround it. The filename field should accept a variable like
${filePath}. (havent tested it - but it should work)
Before you run your test , generate a CSV file which has the full path(or
you could do it as part of your test to , all in memory , but the former is
preferable) to all t
http://jmeter.apache.org/usermanual/component_reference.html#Response_Assertionsee
the field JMeter variable (but the assertion always applies on a
sampler)
> can i use assertion on the "Request Tab" ??.
Not sure what you are trying to accomplish here.
On Mon, Jan 9, 2012 at 5:33 AM, Nithya Praka
Hi
something similar -
http://theworkaholic.blogspot.com/2011/02/dynamic-values-within-files.html
regards
deepak
On Thu, Jan 26, 2012 at 3:06 AM, Nirodha Pramod wrote:
> Hi Philippe,
>
> Thanks for the response. I need to read the request from a file since the
> request is dynamically selected.
the jmeter properties is passed as the props object to beanshell. You can
use that
On Thu, Jan 26, 2012 at 3:04 PM, Nirodha Pramod wrote:
> Hi,
>
> I'm running jmeter scripts via an ANT task. So I pass My own property
> called "csvread.filename" in that ANT task. But I could not find the syntax
Hi
The proxy doesnt record cookies - it simply sends what the browser is
sending.
When you run your script the cookie manager is what saves and resends the
cookie your server sets(the proxy doesnt come into play once you have
recorded the script) . From the name of your cookie I'd guess that it is
String value = props.getProperty("propertyName");
On Thu, Jan 26, 2012 at 4:31 PM, Nirodha Pramod wrote:
> On Fri, Jan 27, 2012 at 4:46 AM, Deepak Shetty wrote:
>
> > the jmeter properties is passed as the props object to beanshell. You can
> > use that
> >
&
do you have request embedded resources checked by any chance?
>all threads will get stuck at some point.
At the same point or different?
On Sat, Jan 28, 2012 at 1:02 PM, ruthm wrote:
> Hello,
>
> I've been struggling with this problem for the past few days and really
> hope
> someone can help!
Hi
I guess you need to figure out if the problem is on Tomcat or Jmeter.
(Assuming there are no other systems like a reverse proxy webserver )
When Jmeter appears to hang - take a thread dump on the Tomcat server (kill
-3 processid(unix) or ctrl+pause break on the window on which tomcat is
running
http://jmeter.apache.org/api/org/apache/jmeter/threads/JMeterVariables.htmlmaps
to the vars object
so vars.put("key","value");
>Or is there a better way to do this.
Depends on what you are trying to do. Using Beanshell has a processing cost.
regards
deepak
On Tue, Jan 31, 2012 at 10:52 AM, Nirod
creates if not already present. Think of it as a map structure.
regards
deepak
On Tue, Jan 31, 2012 at 11:01 AM, Nirodha Pramod wrote:
> Hi Deepak,
>
>
>
> On Wed, Feb 1, 2012 at 12:24 AM, Deepak Shetty wrote:
>
> >
> >
> http://jmeter.apache.
Beanshell sampler or preprocessor?
If sampler then check the logs if there are errors. If pre/post processor
then these need at least one sampler to run against
regards
deepak
On Tue, Jan 31, 2012 at 12:47 PM, Nirodha Pramod wrote:
> Hi,
>
> I have used a beanshell as a child of Once only contr
hi
usually modal dialogs are just javascript + HTML , so they have no
relevance in JMeter, unless the content is being populated by an AJAX call.
It should be the same as any other application with dynamic data - for
which you always have to modify the recorded script.
regards
deepak
On Mon, Jan
he issue with that?
>
> Thanks,
> Nirodha
>
> On Wed, Feb 1, 2012 at 2:29 AM, Deepak Shetty wrote:
>
> > Beanshell sampler or preprocessor?
> > If sampler then check the logs if there are errors. If pre/post processor
> > then these need at least one sampler to
You have functions for timestamp --
http://jmeter.apache.org/usermanual/functions.html
and you can always invoke BeanShell/ java code to generate any NONCE value.
regards
deepak
On Wed, Feb 1, 2012 at 9:30 AM, Nirodha Pramod wrote:
> Hi,
>
> Does anyone know a way to do this, Because the Times
/JMeterContext.html
Again the setUpThreadGroup was written for such usecases and is cleaner.
regards
deepak
On Wed, Feb 1, 2012 at 1:43 PM, Nirodha Pramod wrote:
> On Wed, Feb 1, 2012 at 11:44 PM, Deepak Shetty wrote:
>
> > Hi
> > Only Once is per thread - if you want this once
Hi
http://jmeter.apache.org/docs/changes.html is broken , gives a 404
regards
deepak
On Wed, Feb 1, 2012 at 2:52 PM, Milamber wrote:
> The Apache JMeter team announces the availability of Apache JMeter 2.6
> r1237316.
>
> This release brings some valuable improvements and fixes some bugs.
>
> N
I believe relative paths are relative to the script location
regards
deepak
On Wed, Feb 1, 2012 at 9:05 PM, rajan gupta wrote:
> Hi
>
> This is just for any googler facing issue with CSV Data Set element.
> Per documentation it says if csv file is in bin folder it is enough to give
> filename.
Hi
how many threads are you running
regards
deepak
On Wed, Feb 1, 2012 at 9:03 PM, Stanton W Derry wrote:
> I'm performance testing a set of web services with an expected response
> time of ~20-25ms. I've developed the script using HTTP Request (Http 3.1)
> samplers doing POSTs with a SOAP
write a beanshell Post Processr to loop through the regex result and form
the String in java.
use the vars object to set this into a variable and use the variable in
the next sampler
On Fri, Feb 3, 2012 at 7:04 PM, testerinCO wrote:
> Hello
>
> Here is the output of the GET HTTP /getproductIdLi
>Oh, I'm sorry about that. I'll try to figure out why that is the case.
Your from address is @google.com but you probably arent sending the email
from google (all your emails go as spam for me too with the same warning).
On Tue, Feb 7, 2012 at 5:31 PM, sebb wrote:
> On 8 February 2012 01:09, Ha
Hi
variables are scoped to the thread.
a. Use properties (but you'd have to represent the array as a delimited
string (also described in same link s step c)
b. Do you need randomness (or will sequential work) - if sequential works
then in a setup threadgroup write these values to a CSV , which is t
Jmeter files are all contained within the folder you download.
a. Did you install anything into your JDK/JRE lib? (some applications do
this) (check which java runtime gets picked up as well)
b. Did some install setup the default classpath to have conflicting jars
(in a command window type set or
>I need the entirety of my data set to be accessible to every thread in my
thread group,
Use java (in beanshell or whatever) - your requirement doesnt suit a CSV
data set config.
> I need to write some data out to disk right before a thread group tears
itself down
You'd probably need to work aroun
Dynamic Parameters need you to use one of the post processors (usually
regex post processor which will extract data into a variable) and your next
sampler uses this variable.
http://jmeter.apache.org/usermanual/component_reference.html#Regular_Expression_Extractor
You should find multiple example
> It will be really helpful if someone could explain why two "\" is needed?
This is a guess - i havent verified. but you usually need as many
backslashes as the number of systems for which this is a special character.
So \ is a special character to Jmeter but $ is a special character for
regex's
So
what is the browser telling you?(you can look at the certificate details
and it will tell you what is failing)
On Tue, Feb 14, 2012 at 11:04 AM, testerinCO wrote:
> All
>
> I added the JMeter Proxy cert to Trusted Root Certification Authorities and
> Trusted Publishers, but I keep getting the
the same result ?
In any case listeners can write to whatever files you specify.
On Wed, Feb 15, 2012 at 10:33 AM, Nirodha Pramod wrote:
> Hi,
>
> Is it possible to right the result of a jmeter test to 2 jtl files? If
> possible how can it be done?
>
> Thanks,
> Nirodha
>
> --
> *Nirodha Gallage
hi
why dont you add a pre processing step to remove the values you dont want?
It's almost always better to get the files into the structure you need for
the test rather than modify the script to work with the format you chose.
regards
deepak
On Wed, Feb 15, 2012 at 5:32 AM, waseemfa wrote:
> Hi
two listeners.
It doesnt make sense though that you want one listener to write to two
files if you want them to write the same thing (cp would work just as well
then)?
regards
deepak
On Wed, Feb 15, 2012 at 10:39 AM, Nirodha Pramod wrote:
> On Wed, Feb 15, 2012 at 10:36 AM, Deepak She
Yes add a column in CSV with expected response , read it into a variable
say expectedResponse
add a response assertion as child of your sampler
${expectedResponse}
regards
deepak
On Wed, Feb 15, 2012 at 1:45 PM, rajan gupta wrote:
> Hi
>
> I am building a performance test for a SOAP Service.
>
Im suggesting you not do it the way you are planning.PreProcess the CSV and
remove the rows you dont want.
(otherwise you need a while controller that loops till the value is true or
- but thats a waste IMO so Im not going to spend time explaining it)
regards
deepak
On Wed, Feb 15, 2012 at
Option 1 http://code.google.com/p/jmeter-plugins/ has some thread groups
that do what you want(easiest)
If using JMeter byitself then you have some options
a. Multiple thread groups that start at scheduled times
b. Create the number of threads in a threadgroup as a property. Invoke
Jmeter using an
jmeter.bat/sh
However if you are running GUi mode with listeners on (like view results
tree or view table) then thats what you should be fixing
http://jmeter.apache.org/usermanual/best-practices.html#lean_mean
On Thu, Feb 16, 2012 at 9:07 AM, Muthukrishnan S. <
muthukrishna...@sonata-software.com>
Thank you,
>
> Muthu
>
> ** **
>
> -Original Message-
> From: Deepak Shetty [mailto:shet...@gmail.com]
> Sent: Friday, February 17, 2012 1:30 AM
> To: JMeter Users List
> Subject: Re: Increasing Heap size in JMeter that runs in Solaris
>
> ** *
you cant send attachments to the list upload them somewhere and provide a
link
On Mon, Feb 20, 2012 at 7:17 PM, Swathi Gajarla <
swathi.gaja...@oakton.com.au> wrote:
> Attached are the files.
>
> Regards,
> Swathi Gajarla
> Oakton Consulting Technology
> M +91 7702300218
>
>
See duration on thread group --
http://jmeter.apache.org/usermanual/component_reference.html#Thread_Group
Use constant throughput timer for 50 reqs per second (or the one from
jmeter-plugins)
>First I tried with thread count= 3000,
you probably wont get accurate results using a single jmeter clien
ther thread. Is this the expected behavior or am I
> missing something. Really appreciate if someone can explain this.
>
> Thanks,
> Nirodha
>
>
> On Tue, Feb 21, 2012 at 7:50 PM, Deepak Shetty wrote:
>
> > See duration on thread group --
> >
> http://jmeter.apac
Hi
as a good practive , avoid writing this much code in Beanshell. Its simpler
to write a wrapper java client class so that all you need to do is invoke a
single method from Beanshell.
So move all your code into a java class e.g SimpleClient and have a method
say execute and just create and invoke
http://jmeter.apache.org/usermanual/component_reference.html#BeanShell_Sampler
On Fri, Feb 24, 2012 at 12:42 PM, Nirodha Pramod wrote:
> Hi,
>
> After creating a jar this worked. Now I want to get the return value("true"
> or "false") of the method call and pass it as the response of the sample.
you would need to write a custom class loader.
Its probably more productive to find out which class conflicts and fix
either your class or the mailer visualizer..
On Mon, Feb 27, 2012 at 1:22 PM, Nirodha Pramod wrote:
> Hi,
>
> I want to run a specific java client code inside a beanshell samp
maybe Im wrong
http://www.beanshell.org/manual/classpath.html
regards
deepak
On Mon, Feb 27, 2012 at 1:26 PM, Deepak Shetty wrote:
> you would need to write a custom class loader.
>
> Its probably more productive to find out which class conflicts and fix
> either your class o
your probably not extracting out the dynamic asp.net parameters (viewstate
,eventvalidation etc)
otherwise compare what browser sends and receives.
regards
deepak
On Mon, Mar 5, 2012 at 12:57 PM, Ryan wrote:
> It's been a while since I've used JMeter and recently started using it
> again to tes
I'd probably take a look at what you are trying to do - 30 "real" users
wouldnt synchronize access -
and if you expect your app to do the synchronizing then no further action
should be needed from Jmeter.
On Mon, Mar 5, 2012 at 2:51 AM, ruthm wrote:
> Is it possible to set up the following scen
g said that I then went for the option of modifying the source code to
> simulate this situation thus removing any need for special tweaking of the
> JMeter test.
>
> Thanks anyway for the help.
>
> On Tue, Mar 6, 2012 at 4:50 AM, Deepak Shetty wrote:
>
> > I'd prob
> > Having said that I then went for the option of modifying the source code
> to
> > simulate this situation thus removing any need for special tweaking of
> the
> > JMeter test.
> >
> > Thanks anyway for the help.
> >
> > On Tue, Mar 6, 2012 at 4:50 AM,
__threadNum ()
On Mar 11, 2012 10:37 AM, "Cyril SANTUNE" wrote:
>
> Hi,
> I have something like that in 'user defined Variables'
> --
> curl --output /tmp/${__threadNum}.tmp ftp://${server_ip}/read/10MB.bin
> --
> ${server_ip} was correctly replaced, but the threadNum was not. It w
> - __threadNum() => the result is : __threadNum()
> - ${__threadNum} => the result is : StandardJMeterEngine
> - __threadNum => the result is : __threadNum
>
> It's maybe impossible to use threadNum in this case.
>
>
>
> On Sun, Mar 11, 2012 at 6:
esults each time they are called.
> User parameters doesn't really help but I will use another way.
> Thanks anyway.
>
>
>
> On Sun, Mar 11, 2012 at 7:02 PM, Deepak Shetty wrote:
> > I didn't realize you were using this in user defined variables. Thread
> num
>a) I have tried both "Redirect Automatically" and "Follow Redirects"
Always use follow redirects
>b)tried to setup the URL rewriter mod.
*Usually* using a HTTP Cookie manager is sufficient and you dont need the
rewriter. But it basically depends on your application. An application can
manage ses
>At several times the page being filled with data gets refreshed but
previous tests against the underlying code have not bypassed the partial
>reloading of the page and have just sent in the final request.
This isn't quite clear. is your website using some sort of AJAX ?
> Does anyone know if the i
>but the response data doesn't contain what I expect.
But then (one of ) your problem lies here. is there any other dynamic data
like a form token that changes dynamically that you are not extracting out
correctly?
Compare live http headers request response with view results tree request
/response
das...@state.ma.us> wrote:
> Actual it should say have bypassed the partial request. So sorry I'm just
> frustrated by it all
>
> -Original Message-
> From: Deepak Shetty [mailto:shet...@gmail.com]
> Sent: Monday, April 09, 2012 1:44 PM
> To: JMeter Users List
> Subje
child question just does not work. By the way we are not using Ajax
> but are using Tomcat.
>
> I am new to this mailing list so do not know how to post a change to my
> question.
>
> -Original Message-
> From: Deepak Shetty [mailto:shet...@gmail.com]
> Sent: Monday,
try increasing the value of -Xss for the java VM (on *nix you will also
have to increase ulimit -s)
(the other possibility for a stackoverflowerror is that you have recursive
calls somewhere so it might be a bug)
regards
deepak
On Thu, Apr 12, 2012 at 5:09 AM, Toni Menendez wrote:
> Hello all,
Hi
a. So if the signature is failing , then either the signature itself is
wrong or the data that is being signed is wrong. You have to do a request
by request comparison
b. is the signature value always the same as you seem to imply? i.e. if I
repeat the operation twice in the browser do i get the
the
browser. its possible there is a bug in Jmeter in which case you would need
to raise a bugzilla.
On Fri, Apr 13, 2012 at 11:47 AM, wrote:
> Deepak Shetty wrote on 04/13/2012 12:29:20 PM:
>
> > From: Deepak Shetty
> > To: JMeter Users List
> > Date: 04/13/20
> Complexity of the SCenario is very basic, SOAP request and XPATH
> assestations.
>
> Toni.
>
> 2012/4/12, Deepak Shetty :
> > try increasing the value of -Xss for the java VM (on *nix you will also
> > have to increase ulimit -s)
> > (the other possibility f
The JMeter proxy is an HTTP proxy. What you seem to be getting is the
windows NT authentication popup (which isnt HTTP) so it wont record
anything , nor should it.
You say you added an authorization manager - that needs to be added while
running the tests (not while recording it). Search Google to
you dont have enough memory to increase heap size to 2GB . Use a 64 bit OS
and a 64 bit VM (but the right thing to do would be to upgrade Jmeter)
On Wed, Apr 18, 2012 at 8:32 AM, Muthukrishnan S. <
muthukrishna...@sonata-software.com> wrote:
> Hi,
>
> On trying to increase heap size to 2048, I go
I'd think it supports it as much as HTTPClient 4.1 does - you can always
modify JMeter code to use JCIFS as suggested on the HTTPClient site
regards
deepak
On Wed, Apr 18, 2012 at 11:23 AM, chaitanya bhatt wrote:
> No.
>
> Chaitanya M Bhatt
> On Apr 18, 2012 10:30 AM, "Shmuel Krakower" wrote:
Extracting the cookie is a regex extractor (where you select the option for
Header) and extract based on the name or 'Set-Cookie' header
Then you add a beanshell post processor that does something like
sampler.getCookieManager().addCookie(cookie); where the cookie is based on
the value you extracte
n unbeaten path. You are bound to
> encounter myriads of pitfalls but you are on your own.
>
> Thanks
> Chaitanya
>
> On Wed, Apr 18, 2012 at 11:34 AM, Deepak Shetty wrote:
>
> > I'd think it supports it as much as HTTPClient 4.1 does - you can always
> >
You probbaly got bean shell errors that should be logged in jmeter.log - so
check that if something fails
regards
deepak
On Wed, Apr 18, 2012 at 1:34 PM, wrote:
> Deepak Shetty wrote on 04/18/2012 01:49:16 PM:
> >
> > Extracting the cookie is a regex extractor (where you select the o
>Problem is, when I try to hit the pages
>(automation) which I've recorded previously returns success response even
if
>I haven't used the HTTP Authorization Manager. I'm not sure what I'm
>missing.
Usually you should have got a 401 - but note that JMeter only marks HTTP
errors by default , you hav
http://jmeter.apache.org/usermanual/test_plan.html 4.10 Scoping rules
a. If you can group the samplers under something like a simple controller -
then yes you can put the pre processor at the same level as the sampler and
it applies to every one of them
b. Same as a) (though Im assuming you mean HT
Beansheell doesnt support generics
On Thu, Apr 19, 2012 at 3:52 PM, 5942marine wrote:
> I'm getting a error, and not sure why this is erroring out. If I run the
> same
> java in Eclipse, it works just fine. First, here is my code:
>
> import java.net.URI;
> import java.net.URISyntaxException;
>
Hi
you should be able to just use List params = null;
The other alternative is to write everything into a java class which
exposes a method that does whatever you want ,compile/ jar it up and place
it in jmeter and call this class /method (usually saves a lot of debug time
for larger scripts)
rega
>I thought it would choke because of ((NameValuePair), but it's not.
generics would eliminate the need for the cast - but you can always cast an
object to what it actually is with or without generics in java.
On Thu, Apr 19, 2012 at 4:17 PM, 5942marine wrote:
> Thank you, now it's working. Here
Hi
i think this works
a. extract out the comment using regex post processor or equivalent
b. Add a BeanShell Post Processor as child of the sampler write code like
prev.setSampleLabel(vars.get("variablenamefromstepa")); => replace the name
with the value you extracted
An alternative is
If you ar
Pseudo
+HTTP sampler (Uncheck follow redirects and redirect automatically on the
sampler)
++ regex post processor(targetting headers) extract Location header value
++ regex post processor status code
+if controller - the status code begins with 3xx and the location header
matches your criteria
++HT
Hi
i think the ${ID} is inside the file collnumsonly.txt (which wont work.).
Is that correct?
regards
deepak
On Tue, Apr 24, 2012 at 9:51 AM, sebb wrote:
> On 24 April 2012 17:02, Peri Stracchino
> wrote:
> > Hello
> >
> > I hope I'v got the correct address here for the JMeter users discuss
>ut I want to be able to easily enable or disable certain assertions to be
able toggle between functional and load testing
Why do you want to do this? It's easier to add a machine to make up for the
loss of some CPU processing than it is to figure out if your system
actually worked correctly under
Hi
if this is related to your previous posts , then you will have to escape
the URL's yourself (using beanshell or equivalent).
Im assuming you have a single string as the URL that you are using in the
HTTPSampler rather than the PATH + query parameters separately (in which
case you could use the e
Yes (thats what having more than one thread does) But thats probably not
what you wanted to ask.
Assuming you mean testing AJAX websites then --
http://theworkaholic.blogspot.com/2010/11/jmeter-and-ajax-part-i.html +
search for multiple threads on this mail archive.
On Wed, Apr 25, 2012 at 2:53 AM
http://theworkaholic.blogspot.com/2011/08/random-value-selection-in-xpath.html
On Thu, Apr 26, 2012 at 12:24 PM, wrote:
> I have a script I have written in a beanshell processor.
>
> What I need to do is select a random integer (we'll call it X) between 1
> and someVar_matchNr (where someVar is
>int numLabelsToRequest = __Random(1,maxLabels);
I believe you forget to use ${__Random(1,maxLabels)}
On Thu, Apr 26, 2012 at 12:47 PM, wrote:
> Comments inline, as I have partially answered my own question, and ran into
> some different problems.
>
> llow...@oreillyauto.com wrote on 04/26/2012
It's possible (write a class that maintains this data across threads -
invoke it in beanshell and return the values and put them into whatever
variable you want , appropriately dealing with concurrent access while not
totally messing up the throughput)
However you probably need to state what you ar
time? In any case there is definitely some amount
> of computational time involved while processing the request before sending
> it to the outputstream which I want to filter from my response value. Is
> there a way I can do this?
>
> Thanks
> Chaitanya Bhatt
> On Thu, May 3, 2
>Does "each thread gets the next entry in the log" mean each of the 100
threads will generate 10,000 requests?
No - this will do what you want. It means the file is shared and if thread
1 reads line 1 then the next thread will read the next entry (i.e. line 2)
regards
deepak
On Thu, May 10, 2012
1 - 100 of 779 matches
Mail list logo