Re: Run single thread in the distributed mode

2020-04-05 Thread Deepak Shetty
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

Re: JMeter error Response code: Non HTTP response code: java.net.SocketException Response message: Non HTTP response message: Connection reset

2020-02-01 Thread Deepak Shetty
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

Re: Probably Not a Bug

2020-01-06 Thread Deepak Shetty
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

Re: Passing the JDBC query values list from one thread group to another

2020-01-06 Thread Deepak Shetty
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

Re: Exclude mongo-java-driver 2.11.3 jar from jmeter plugin maven build

2019-12-16 Thread Deepak Shetty
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

Re: Problems Execute Linux Commands using JSR223 PrePrcessor with Groovy Engine and pipe-symbol

2019-12-02 Thread Deepak Shetty
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

Re: Proto requests via Jmeter

2019-11-30 Thread Deepak Shetty
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

Re: How to pass generated random number into 2 JMS Point to Point samplers

2019-10-21 Thread Deepak Shetty
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

Re: Sequential confirmation in Jmeter

2019-10-20 Thread Deepak Shetty
> > 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

Re: Sequential confirmation in Jmeter

2019-10-14 Thread Deepak Shetty
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

Re: Sequential confirmation in Jmeter

2019-10-11 Thread Deepak Shetty
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

Re: To sum up response time of requests.

2019-09-08 Thread Deepak Shetty
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

Re: Need to Sign data with private key in jmeter using keystore

2019-09-07 Thread Deepak Shetty
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

Re: How to assert dynamic data using JMeter

2019-09-05 Thread Deepak Shetty
>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

Re: unable to create new native thread error

2019-03-12 Thread Deepak Shetty
In additions to what others have said (this is not a heap problem), your calculation looks off You want 100,000 requests per minute. Assuming on average that a request = 5 seconds (for e.g.) , a single thread would be able to generate 12 requests (no think times etc). That would need only ~10,000 t

Re: Generate User Id dynamically

2019-03-09 Thread Deepak Shetty
User1...User10 (i.e. uniqueness is only within a single iteration on a single JVM) - On Sat, Mar 9, 2019 at 10:45 AM Prateek Dua wrote: > pls explain this in a bit detail. > > On Sat, Mar 9, 2019 at 11:24 PM Deepak Shetty wrote: > > > Note this doesnt mean if you run the te

Re: Generate User Id dynamically

2019-03-09 Thread Deepak Shetty
Note this doesnt mean if you run the test 2 times it will generate the same numbers On Sat, Mar 9, 2019 at 3:51 AM Prateek Dua wrote: > Thank you guys, > > I used the function {__threadNum} to input thread id as user id. > > On Thu, Mar 7, 2019 at 8:17 PM Indu Gupta > wrote: > > > Hi, > > > > Y

Re: TLS 1.3 Support for Jmeter

2019-03-09 Thread Deepak Shetty
Probably if you use the Java Implementation (but which has other limitation as in https://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request ) I dont think HTTPCLient supports TLS 1.3 (yet) On Fri, Mar 8, 2019 at 8:52 AM Samer Al Masri wrote: > Hello everyone, > > I would like to

Re: Generate User Id dynamically

2019-03-07 Thread Deepak Shetty
Use some combination of __time, __threadnum, __random ,__counter - The best is UUID if your system can handle it. If all else fails there is always __groovy/javascript/beanshell. You can even use this in UserParameters. https://jmeter.apache.org/usermanual/functions.html CSVs have an advantage tha

Re: Groovy OUT.println() in remote execution

2019-02-26 Thread Deepak Shetty
Hi Never tried but I would probably try to tweak the logging so that the appender is one that can collate information from multiple clients and show it wherever you prefer (Something like a socket appender in log4j with simple socket server) regards deepak On Mon, Feb 25, 2019 at 11:20 PM Ivan Ra

Re: Not able to record traffic in Jmeter

2019-02-25 Thread Deepak Shetty
Hi its hard to say without looking at your script or your setup. Possible issues are a. Your browser is using a configured proxy - When you are recording a script , you are replacing the browsers proxy by JMeters so you effectively have to configure JMeter to use the proxy the browser was originall

Re: JMeter Query on Threads

2019-02-23 Thread Deepak Shetty
Hi there is no way to nest thread groups(that I know off) but you can use sequential thread groups and exchange data between them (using usual mechanisms of anything shared like a file or db or service or queue) Thread Group 1 (n threads) + Do something + Save it somewhere Thread Group 2 (m threads

Re: ant package-and-check command is not executing successfully.

2019-01-28 Thread Deepak Shetty
I have not checked but the error message is telling you to run the ant target " download_checkstyle " ant -buildfile download_checkstyle did that not work ? On Mon, Jan 28, 2019 at 3:04 AM Sanjay Chaurasia < sanjay.chaura...@india.nec.com> wrote: > Hi Team, > > I am trying to run command ant pac

Re: Protobuf handling Jmeter

2019-01-16 Thread Deepak Shetty
; Prateek > > > On Wed, Jan 16, 2019 at 5:18 AM Deepak Shetty wrote: > > > Hi > > not sure what your requirement is - However protobuf has a java api and > you > > can use that to generate the payload like any other java code that you > need > > to invoke.

Re: Protobuf handling Jmeter

2019-01-15 Thread Deepak Shetty
Hi not sure what your requirement is - However protobuf has a java api and you can use that to generate the payload like any other java code that you need to invoke. if you need to pass that payload in some request then that should be possible too On Tue, Jan 15, 2019 at 12:43 AM Prateek Dua wrot

Re: Possible JMeter JDBC issue with implicit result sets in Oracle 12c

2019-01-14 Thread Deepak Shetty
Hi Its the JDBC driver that appears to be throwing this exception so I dont think its JMeter. Are you sure you are using the correct version of ojdbc ? Can you try it with a standalone java program using the same ojdbc driver? Note Oracle wasnt JDBC standards compliant when it came to cursors/resu

Re: No events/requests were captured by JMeter [v3.3] in IE [v11] for a web application

2018-11-27 Thread Deepak Shetty
t; > 1. How we can start the creation of scripts from info available in > network > > tab of developer's tool. Can u guide me through. > > 2. Yes. Traffic is routed through the company's proxy. > > > > Thanks. > > ESK > > > > On Sat, Nov 17, 2018,

Re: Need help in identifying actual time, not aggregate

2018-11-26 Thread Deepak Shetty
requirement is to identify actual time taken before turning Status = > Successful. i.e. 15*10=150 ms. > > As per my understanding, TransactionController_2 should give time like 150 > ms. Please help me to identify the actual time. > > > -- > Regards > Pravesh Shrivastava > &g

Re: Disable JDBC query timeout

2018-11-20 Thread Deepak Shetty
Hi as far as I can tell there isn't a way to do this (Short of downloading and modifying the source code)- You will have to raise an enhancmeent for JMeter (https://jmeter.apache.org/issues.html ) AbstractJDBCTestElement.java in source code can be modified if you want to use -1 or equivalent to r

Re: Need help in identifying actual time, not aggregate

2018-11-20 Thread Deepak Shetty
us (it is Submitted) > 3. Keep hitting the same url until status becomes Successful > > I have to measure the exact time taken in changing status from Submitted to > Successful. > > On Tue, 20 Nov 2018, 00:29 Deepak Shetty > > Whats your test plan and what makes you say it

Re: Need help in identifying actual time, not aggregate

2018-11-19 Thread Deepak Shetty
Whats your test plan and what makes you say its average ? The transaction controller generates the sum of its children, not average regards deepak On Mon, Nov 19, 2018 at 12:51 AM Pravesh Shrivastava < pravesh.shrivast...@gmail.com> wrote: > Hi, > > I have a scenarios where I need some help to s

Re: No events/requests were captured by JMeter [v3.3] in IE [v11] for a web application

2018-11-16 Thread Deepak Shetty
16, 2018 at 10:29 AM Deepak Shetty wrote: > Hi > If you cant change the browsers config to use a proxy (or use a different > browser) then you cant record a script with JMeter. In most organizations > that means you need to send a case , explain your reasons and get a > tempora

Re: No events/requests were captured by JMeter [v3.3] in IE [v11] for a web application

2018-11-16 Thread Deepak Shetty
Hi If you cant change the browsers config to use a proxy (or use a different browser) then you cant record a script with JMeter. In most organizations that means you need to send a case , explain your reasons and get a temporary waiver till you record your script. However that doesn't stop you fro

Re: JMeter 4 with Java 1.7

2018-11-15 Thread Deepak Shetty
Hi >But the problem is it is not possible to install Java 8 in our environment. When you say "environment" - if you mean the machines (or your test lab or laptop) from which JMeter is going to run , because of some organization policy , ok then yes you cant use a JMeter version that needs Java 8 (

Re: Capturing request-send-time and response-receive-time

2018-11-15 Thread Deepak Shetty
In all probability the answer is that JMeter cannot capture these values that you are asking for -One reason for that is that HTTP and TCP probably doesnt work the way whoever asked for "time-taken-to-sendrequest" and "time-taken-to-receive-response" is envisaging. >In a step-up-load-test we obs

Re: Asynchronous Http Requests Submission

2018-11-09 Thread Deepak Shetty
ing if we can capture the response > time of the asynchronous requests. > > Regards, > Ranjan > > -Original Message- > From: Deepak Shetty > Sent: Friday, November 9, 2018 8:01 AM > To: JMeter Users List > Subject: Re: Asynchronous Http Requests Submission

Re: Asynchronous Http Requests Submission

2018-11-08 Thread Deepak Shetty
Hi it depends on what your intent is. In general a JMeter (HTTP) sampler will wait for the response so it isnt asynchronous - However you can always use something like a Java Sampler / JSR Sampler so that you can write java code that can make the asynchronous request Unless the asynchronous system

Re: Jmeter Selenium WebDriver Stop test

2018-11-08 Thread Deepak Shetty
Any reason why you are not setting this on the thread group ? https://jmeter.apache.org/usermanual/component_reference.html#Thread_Group - Action to be taken after sampler error If you still want to do it in code , Im guessing the method also should be on the thread group not on the sample result

Re: New book on Apache JMeter by 3 committers of the project

2018-10-31 Thread Deepak Shetty
Cool , Congratulations! regards deepak On Tue, Oct 30, 2018 at 12:50 PM Philippe Mouawad wrote: > Hello All, > > I am happy to announce that 3 committers of Apache JMeter (including me) > have authored a new book on JMeter that you can buy online at: > >- https://leanpub.com/master-jmeter-f

Re: view both successfull and failed assertions

2018-10-05 Thread Deepak Shetty
t's basic core functionality to have an overview all > assertions in 1 screen/overview - both passed as well as failed. > > How can I do an enhancement request - what's the procedure for that? > > Thanks, > Mathijs Groen > > -Oorspronkelijk bericht- > V

Re: view both successfull and failed assertions

2018-10-04 Thread Deepak Shetty
sampler when there is a success right - there isnt a message to show though. A success assertion looks like Response AssertionA false false On Thu, Oct 4, 2018 at 10:02 AM Deepak Shetty wrote: > Hi > you should probably raise an enhancement request - i dont see why it >

Re: view both successfull and failed assertions

2018-10-04 Thread Deepak Shetty
Hi you should probably raise an enhancement request - i dont see why it should be either. You could always add 2 different Assertion Results , one to log successes and one to log errors personally though the success result is trivial , I wonder what your use case is that you need to know . regards

Re: Extracting values From HTTP Requests

2018-09-27 Thread Deepak Shetty
Hi I would favor that your test gets the data in the form it needs rather than the test writes code. e.g. if you have smething like {"a":"b","c":"d"} and you also need the value of d for something then for e.g. you could create your test data as "d", {"a":"b","c":"d"} and use CSV dataset config or

Re: JMeter does not interpret meta http-equiv="refresh" meaning we have a discrepancy in response times

2018-09-25 Thread Deepak Shetty
The main reason is JMeter is not a browser(http://jmeter.apache.org/) so it does not understand HTML specific stuff. Hence such things need to be explicitly coded into your script regards deepak On Tue, Sep 25, 2018 at 4:26 AM Nicola Hayward wrote: > We have recently moved from LoadRunner to J

Re: Issue With JMeter Not Sending Http Requests

2018-09-23 Thread Deepak Shetty
> tools like jconsole, jvisualvm or jmc. > > Regards, > Felix > > > > Regards, > > Ranjan > > > > -Original Message- > > From: Deepak Shetty > > Sent: Saturday, September 22, 2018 12:27 AM > > To: JMeter Users List > > Subject: Re: Is

Re: Issue With JMeter Not Sending Http Requests

2018-09-21 Thread Deepak Shetty
Hi take a thread dump of java to see what its doing. I have seen this behavior sometimes with out of memory >. I checked the memory (using 6 GB/32 GB) This sounds like you are checking OS memory not JVM regards deepak On Thu, Sep 20, 2018 at 10:43 PM Nayak, Soumya R. wrote: > Hi All, > > I am r

Re: ctx.getThreadNum() and ${__threadNum}

2018-09-20 Thread Deepak Shetty
I believe there is a discrepancy - The context reads it from the thread which is 0 based and the other from the name. Its probably late to change this without potentially breaking backward compatibility - perhaps a documentation update is better . regards deepak On Wed, Sep 19, 2018 at 12:54 AM I

Re: Monitoring results

2018-09-17 Thread Deepak Shetty
Oh and i believe JP@GC ==> Jmeter plugins @ Google code regards deepak On Mon, Sep 17, 2018 at 1:31 PM Deepak Shetty wrote: > Hi > Since you are using Jmeter plugins , Im guessing you will find more > answers on the plugins on their support forum rather than on the JMeter &g

Re: Monitoring results

2018-09-17 Thread Deepak Shetty
Hi Since you are using Jmeter plugins , Im guessing you will find more answers on the plugins on their support forum rather than on the JMeter mailing list. JMeter listeners usually have a write results to file , it needs to be its own file if I remember correctly. i believe a common pattern is to

Re: Regular Expression

2018-09-17 Thread Deepak Shetty
nt-ns-multiple="sgcfb"> > > On Mon, Sep 17, 2018 at 12:50 PM Deepak Shetty wrote: > > > Hi > > you havent posted the text you are matching against so cant say why your > > regex isnt working > > Generally expressions like the above fail because . You have

Re: Delay Between Http Requests

2018-09-17 Thread Deepak Shetty
>https://jmeter.apache.org/usermanual/component_reference.html#timers You could also use the JSR223 timer to read the current time and determine how much delay to return. You do however need to figure out what you want to do when your previous sampler takes more than (in your example) 1 minute sinc

Re: Regular Expression

2018-09-17 Thread Deepak Shetty
Hi you havent posted the text you are matching against so cant say why your regex isnt working Generally expressions like the above fail because . You have whitespace , or you are using a single quote or there is something between value and the end of your tag like a css class and so on. Check the

Re: ElasticSearch engine-- Request reached timeout.

2018-09-10 Thread Deepak Shetty
Mon, Sep 10, 2018 at 6:58 AM Prateek Dua wrote: > Okie.. > > On which port no Jmeter runs on local machine & how can I change to get it > run on different port ? > > On Mon, Sep 10, 2018 at 1:18 AM, Deepak Shetty wrote: > > > Your error is telling you what the i

Re: ElasticSearch engine-- Request reached timeout.

2018-09-09 Thread Deepak Shetty
Your error is telling you what the issue is. i.e. a request timeout a. Either your systems(likely elastic search) genuinely needs more time , in which case increase timeout (OR your systems are not tuned , in which case tune it) OR b. You have a connectivity issue like a firewall (where your reques

Re: JUnit Setup Issues

2018-09-07 Thread Deepak Shetty
Hi Nothing specific to JMeter Within your test ,if you already have some form of logging use that , otherwise use your favorite (log4j, java logging ,or good old system.out.println). Add statements around where you are creating the browser - driver etc and if you have any catch (exception){ //do no

Re: JUnit Setup Issues

2018-09-07 Thread Deepak Shetty
Typically that indicates a setting or resource that is being found when you run via IntelliJ and you havent made the same change for the JVM of JMeter (e.g. are classpath settings or resources like files or command line parameters that are read by the code) You probably need to enable debug for you

Re: JUnit Setup Issues

2018-09-06 Thread Deepak Shetty
> > will continue on error > > > 2018-09-06 16:45:15,126 INFO o.a.j.t.ThreadGroup: Starting > thread > > group... number=1 threads=1 ramp-up=1 perThread=1000.0 > delayedStart=false > > > 2018-09-06 16:45:15,138 INFO o.a.j.t.ThreadGroup:

Re: JUnit Setup Issues

2018-09-06 Thread Deepak Shetty
bel. > > On 9/6/18, 4:21 PM, "Deepak Shetty" wrote: > > Do you have any value specified in Constructor String label ? > > https://jmeter.apache.org/usermanual/component_reference.html#JUnit_Request > If you specify that it will look for a constructor with a

Re: JUnit Setup Issues

2018-09-06 Thread Deepak Shetty
Do you have any value specified in Constructor String label ? https://jmeter.apache.org/usermanual/component_reference.html#JUnit_Request If you specify that it will look for a constructor with a parameter . On Thu, Sep 6, 2018 at 11:13 AM Maxwell Falcon wrote: > Hello, this is my first time usi

Re: Mail triggering from Aws instance landing in Spam

2018-09-04 Thread Deepak Shetty
Hi This usually happens if a. Your content is similar to spam / your from address/domain is marked as a spammy one / someone fl;agged these emails as spam b. Your from address isnt supposed to be used with the smtp server in question (e.g. you send an email with a from address of some...@gmail.com

Re: Recording Issue

2018-08-30 Thread Deepak Shetty
Hi Please explain your issue clearly. Your application is running on port 3128 (instead of the standard 80/443). You want to record a script from Jmeter. But it didnt capture anything ? Or something else ? regards deepak On Wed, Aug 29, 2018 at 9:46 PM krish na wrote: > Hi All, > Recently in my

Re: How to record Desktop application using Jmeter

2018-08-27 Thread Deepak Shetty
IF your application makes HTTP(S) calls AND it allows these calls to be made via a proxy Then you can record it using JMeter. How you record it is the same - run JMeter and then specify it as the proxy (using however your application recognizes the proxy). Note that JMeter can only play back the HT

Re: Share Load to specific DB per specific Server IP

2018-08-24 Thread Deepak Shetty
Your question is not clear. Do you mean you recorded a script for app.test.com where app.test.com internally makes calls to a database cluster and now you want when you run the script , all calls must only goto one specific IP ? JMeter --> app.test.com --> DB ? If so then this is something for you

Re: Counter starting from threadNum?

2018-08-24 Thread Deepak Shetty
If I remember correctly some config elements are processed at configuration time and so cant use items in their configuration that have values at runtime. (Not verified for this particular case) Likely you will have to use a normal counter and then combine it with the threadnum at runtime On Fri,

Re: jmeter command stuck - FTP testing

2018-08-23 Thread Deepak Shetty
The duration assertion marks a sample as failed if the time it takes is larger than configured. it doesnt however timeout the sampler. If you have a blocking call then till that call returns , nothing else will happen till that call returns . On Thu, Aug 23, 2018 at 8:24 AM vijay.raje2...@gmail.co

Re: Passing variables to Random function

2018-08-23 Thread Deepak Shetty
Thank you for confirming! On Thu, Aug 23, 2018 at 12:22 PM Felix Schumacher < felix.schumac...@internetallee.de> wrote: > > > Am 23.08.2018 um 16:07 schrieb Deepak Shetty: > > Hi > > title worked too > For me now, too. > > The test cases I used - and the r

Re: Passing variables to Random function

2018-08-23 Thread Deepak Shetty
Hi here is my example that works https://onedrive.live.com/?cid=1BD02FE33F80B8AC&id=1BD02FE33F80B8AC%211557&parId=1BD02FE33F80B8AC%21268&o=OneUp On Thu, Aug 23, 2018 at 8:34 AM David Fertig wrote: > >${__Random(0,${__evalVar(numFiles)})} > > Unfortunately this also does not work. > > 2018-08-23

Re: Passing variables to Random function

2018-08-23 Thread Deepak Shetty
Hi title worked too regards deepak On Thu, Aug 23, 2018 at 1:43 AM Felix Schumacher < felix.schumac...@internetallee.de> wrote: > > > Am 23.08.2018 um 03:42 schrieb Deepak Shetty: > > Hi > > I initially tried this with a string , but I dont get this issue with an &g

Re: Passing variables to Random function

2018-08-22 Thread Deepak Shetty
Hi I initially tried this with a string , but I dont get this issue with an integer either - How were you able to replicate Thread group +Bean Shell sampler // vars.putObject("numFiles",new Integer(10)); +Http Request ++ParamValue - ${__Random(0,${numFiles},docIndex)} which works fine. On Wed, Au

Re: Passing variables to Random function

2018-08-21 Thread Deepak Shetty
${__Random(0,${numFiles},docIndex)} should work Where are you specifying this ? Note special considerations apply if you are trying this within for e.g. a beanshell sampler On Tue, Aug 21, 2018 at 12:32 PM David Fertig wrote: > I have a variable called numFiles, which I can print and verify c

Re: jmeter command stuck - FTP testing

2018-08-21 Thread Deepak Shetty
every time. Some time it's working without > any issue. > > Thanks > Vijay Raje > > On Mon, Aug 20, 2018, 11:11 PM Deepak Shetty wrote: > > > Hi > > > but while running from 15 Linux servers sententiously > > This will run 15 * 225 connections to you

Re: Dynamic Value handling Run Time

2018-08-21 Thread Deepak Shetty
Hi Your Test should look like +Thread Group ++ HTTP Request (URL = http://www.goibibobusiness.com/accounts/login/ , Method = GET) +++Regex extractor (csrfmiddlewaretoken , regex = name=['"]csrfmiddlewaretoken['"]\s+value=['"]([^'"]+)['"]) , defaultvalue=NOTFOUND +Debug sampler ++ HTTP Request (URL

Re: jmeter command stuck - FTP testing

2018-08-20 Thread Deepak Shetty
Hi > but while running from 15 Linux servers sententiously This will run 15 * 225 connections to your server - Is this what you want to do ? Its likely your server is rejecting connections or timing out - The screenshot you have taken is not what is useful - You need a threaddump which will likely

Re: JDBC Request - all queries not getting executed for User 1 & User 2

2018-08-20 Thread Deepak Shetty
Hi you need sharing mode "Current thread" if you want each thread to read the same data https://jmeter.apache.org/usermanual/component_reference.html#CSV_Data_Set_Config - See sharing mode On Mon, Aug 20, 2018 at 6:53 AM Prateek Dua wrote: > Hey Felix, > > Yes by default "Max Number of Connectio

Re: JAVA Program as a Service

2018-08-16 Thread Deepak Shetty
st executed in the backend. > > Regards, > Soumya > > -Original Message- > From: Deepak Shetty > Sent: Saturday, August 11, 2018 10:40 PM > To: JMeter Users List > Subject: Re: JAVA Program as a Service > > Hi Soumya > Note that if you want to use the OS

Re: JAVA Program as a Service

2018-08-11 Thread Deepak Shetty
Hi Soumya Note that if you want to use the OS process sampler and you genuinely have a need for "the java program runs independently in the background without JMeter waiting for it to complete execution" then you have to write a wrapper script to run the process in the background and call that wrap

Re: Query on capturing the session id from cookie manager

2018-08-08 Thread Deepak Shetty
If you are using Cookie Manager and your application is using cookies then typically you shouldnt have to do anything else (like extracting the session id from the header and setting it - this is only needed for some advanced use cases ) - So first confirm that you really need to do what you are do

Re: JDBC request - Single Query running as segregated

2018-08-08 Thread Deepak Shetty
Attachments dont make the list - upload them somewhere and provide the link >I'm giving below Single SQl query via JDBC but its giving output by taking every column as a separate sql query Im not sure what you mean by this - Im assuming you are referring to what happens when you specify variable na

Re: Bean shell for 90 percentile calculation

2018-01-21 Thread Deepak Shetty
< madhuvchand...@gmail.com> wrote: > Yes Deepak, We want capture it at run time. > > Any help on this? > > Thanks, > Madhu > > On 18-Jan-2018 11:32 PM, "Deepak Shetty" wrote: > > > Its not clear what you want to do. If you want to just find the 90

Re: Bean shell for 90 percentile calculation

2018-01-18 Thread Deepak Shetty
Its not clear what you want to do. If you want to just find the 90% at the end and there isn't that much data then just load into excel (a program to calculate it is also trivial). or you want a running view of the 90% values On Thu, Jan 18, 2018 at 12:12 AM, Kuruva Madhu Sekhar < madhuvchand...@

Re: Not able to login through JMeter script

2018-01-16 Thread Deepak Shetty
Hi http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Cache_Manager Shouldnt be related to your problem You need to check every request/response and see whats different On Fri, Jan 12, 2018 at 11:14 PM, Pravesh Shrivastava < pravesh.shrivast...@gmail.com> wrote: > Hi All, > > I am

Re: JMeter Distributed Load test Query

2018-01-16 Thread Deepak Shetty
Hi a. Please use separate threads for separate issues - it is difficult to follow b. Please check JMeter logs for errors when things do not work c. Please provide more useful descriptions of what you did , what did or did not work etc. e.g. I put multiple IF controllers , it did not work is not use

Re: Jmeter Data Driven Load tests

2017-12-28 Thread Deepak Shetty
The easiest way is a setup thread group that executes a JDBC sampler and saves this data to a CSV file (or do this before your test starts) There are other ways to share data but usually need more effort - is there some reason why the above wont work for you? On Tue, Dec 26, 2017 at 6:07 AM, Naya

Re: Gateway Timeout Errors

2017-12-27 Thread Deepak Shetty
>What would be the reason for this Difficult to say , its the app thats behaving badly!. What are the response times you are seeing ? An example of systems that exhibit the behavior you describe are systems that lazily load caches (with synchronized wait behavior for other requests while the cache

Re: Is there a way to count all retries as single request in JMeter

2017-11-14 Thread Deepak Shetty
if all its sub-samples are > successful." > > -Nasir > > On Mon, Nov 13, 2017 at 10:58 PM, Deepak Shetty wrote: > > > I'd probably use a transaction controller + custom assertions (it should > > mark every retry other than the last successful , eve

Re: how many threads we can run with webdriver sampler

2017-11-13 Thread Deepak Shetty
Hi The short answer is you need to figure out the number that works for you on your test infrastructure for your test application and that you need to validate your observations. The longer answer is - first you need to differentiate between How many could I theoretically launch v/s How many could

Re: Is there a way to count all retries as single request in JMeter

2017-11-13 Thread Deepak Shetty
I'd probably use a transaction controller + custom assertions (it should mark every retry other than the last successful , even if status is not 200) http://jmeter.apache.org/usermanual/component_reference.html#Transaction_Controller I do think this might be easier to do in your report rather than

Re: JMeter - Ant Integration: JTL file does not exist

2017-11-10 Thread Deepak Shetty
The .jtl file should have been created when your test ran - So if its not there there is probably some issue preventing it from being created. The build file should create a ${testpath}/${test}.log file - if thats not getting created there is a permissions issue or incorrect path or something like

Re: Using CSV for POST json request

2017-10-26 Thread Deepak Shetty
#HTTP_Request On Wed, Oct 25, 2017 at 12:53 PM, Moshe Recanati wrote: > Thank you but but than i cannot add parameters to the parameters window. > > On Oct 25, 2017 10:51 PM, "Deepak Shetty" wrote: > > > Hi > > Its the same thing - Use Post Body - copy the JSON there an

Re: Using CSV for POST json request

2017-10-25 Thread Deepak Shetty
Hi Its the same thing - Use Post Body - copy the JSON there and read the variable ${text} in the same way regards deepak On Wed, Oct 25, 2017 at 10:52 AM, Moshe Recanati wrote: > Hi, > I've seen tutorial regarding passing variables for POST request using CSV > https://guide.blazemeter.com/hc/e

Re: Need some help with HTTP responses and Assertions.

2017-09-28 Thread Deepak Shetty
Im not sure I understand your issue exactly but hopefully this will clarify a couple of things. In JMeter , every request/response can be asserted against , but there are a couple of flags that control whether you can do it on JMeter with some implications for your test case. The way I understand

Re: Enable JMX Parameters on JMETER running Java Request Sampler

2017-06-29 Thread Deepak Shetty
Hi Use JVM_ARGS from JMeter.bat rem Environment variables that can be defined externally: rem JVM_ARGS - additional java options, e.g. -Dprop=val Its generally not a good practice to modify things that ship with the JMeter installation since then you must remember to manually make ch

Re: Warming up Java servers before measuring performance

2017-05-24 Thread Deepak Shetty
ual measurement results. > > Splitting the JTL seemed to be an additional work and we have to process > large files again after the tests. I was wondering why JMeter didn't > provide such a feature out of the box similar to JMH. > > Thanks! > > Best Regards, > > >

Re: Warming up Java servers before measuring performance

2017-05-19 Thread Deepak Shetty
Hi Your reporting engine of choice will usually support this filter. For most non trivial load tests you have to analyze the data in either a DB or something like graphite etc - Almost all of which will trivially allow you to filter out time frames you dont want. For out of box listeners , yes you

Re: Jmeter corellation

2017-05-15 Thread Deepak Shetty
The closest thing to what you want is probably section called "User defined variable replacement" in http://jmeter.apache.org/usermanual/component_reference.html#HTTP(S)_Test_Script_Recorder while recording your script. Otherwise yes its manual On Sun, May 14, 2017 at 12:10 AM, Pravesh Prajapati <

Re: Jmeter Hangs - Running 150 HTTP Requests

2017-03-16 Thread Deepak Shetty
> Regarding your first option, if I disable the result tree element while > running, how will be I able to see the results for debugging. You can use one of the less heavier listeners like http://jmeter.apache.org/usermanual/component_reference.html#Save_Responses_to_a_file http://jmeter.apache.or

Re: While controller is not ending the loop

2017-02-06 Thread Deepak Shetty
How can I end the loop ? > > On Feb 6, 2017 9:37 PM, "Deepak Shetty" wrote: > > > Hi > > javascript doesnt have a .equals method if I remember correctly. Check > your > > log for errors. > > ${__javaScript("${VAR2}" == "Next")} is pro

Re: While controller is not ending the loop

2017-02-06 Thread Deepak Shetty
Hi javascript doesnt have a .equals method if I remember correctly. Check your log for errors. ${__javaScript("${VAR2}" == "Next")} is probably what you are looking for regards deepak On Mon, Feb 6, 2017 at 4:35 AM, Sankar Das <007bhabanisan...@gmail.com> wrote: > Hi, > > I am trying with while

Fwd: Our desire is to...help advance God k iupi’s Kingdom

2017-01-26 Thread Deepak Shetty
-- Forwarded message -- From: "August E. Brunsman IV, Secular Student Alliance" < upda...@secularstudents.org> Date: Jan 26, 2017 11:00 AM Subject: Our desire is to...help advance God’s Kingdom To: "Deepak Shetty" Cc: Deepak, President Trump nominated

Re: Fw: Junit xml report output

2017-01-16 Thread Deepak Shetty
Hi you'd have to transform the result - google indicates someone has done it ( https://github.com/tguzik/m2u ) On Sun, Jan 15, 2017 at 12:02 PM, Adrian Cosmici wrote: > > > > Hello guys, > > I am trying to run jmeter tests with VSTS and Maven and currently I am not > able to print results report

  1   2   3   4   5   6   7   8   >