Saving all responses (including resources) during recording with filenames

2014-11-06 Thread SanderW
Hi all, I would like to save all the files that are recorded with the filenames as shown in the View Results Tree listener (Like LoadRunner automatically does during recording in the data folder) I have tried several set-ups (order of the listeners, with/without Simple Data Writer), but none seem

Sub-samples depth of Regular Expression Extractor

2014-11-07 Thread SanderW
Hi all, I have a question concerning the depth of which the Regular Expression Extractor searches. I have the radiobutton "Main sample and sub-samples" selected and I'm scripting a .NET application that uses frames. The main.aspx loads several other aspx pages of which one page (frameset.aspx) ha

Re: Sub-samples depth of Regular Expression Extractor

2014-11-09 Thread SanderW
Hi Glinius, Thanks for your reaction, but I don't think you read my problem correctly. I have the "Main sample and sub-samples" option selected and it does indeed execute the RegEx on both, but in my case the sub-samples have sub-samples of their own and the RegExExtractor does not pick those up.

Re: Saving all responses (including resources) during recording with filenames

2014-11-12 Thread SanderW
Thanks for your answer, Ankit. I will make use of the jmeter-plugins in the future, but I have a feeling that this should also be possible with the JMeter features itself. As I mentioned in the first post, it is possible to save the data, but I can't seem to get the filenames correctly. I don't k

Re: how to simulate 1000 concurrent user using jmeter

2014-11-12 Thread SanderW
Hi Harry, harry2 wrote > Is that possible to simulate 1000 to 1 user to jmeter? That depends on several factors, like the complexity of your script and on the OS you are running JMeter on (32/64 bits). Is it possible to do distributed testing? Make sure you run from command line. harry2 w

Recording: Variable from User Defined Variables in Patterns to Include

2014-11-20 Thread SanderW
Hi, In my testplan I have a User Defined Variables with a Host. During my recording I only want to record requests that belong to that host. If the host is a ip-address I use "\b(?:\d{1,3}\.){3}\d{1,3}\b.*" in the URL Patters to Include and that works fine. But want I really want is to record o

Re: Saving all responses (including resources) during recording with filenames

2014-12-29 Thread SanderW
Hi All, I'm still suffering from the fact that I'm not able to save all data coming from the server with the correct filenames. As mentioned above I have the following set-up during recording: Thread Group - Recording Controller - HTTP(S) Test Script Recorder -- View Results Tree -- Save Response

Re: Saving all responses (including resources) during recording with filenames

2014-12-29 Thread SanderW
Sure, but it's just a basic new testplan. No fancy stuff inserted yet :-) JMeter_recording_issue.jmx JMeter_recording.zip -- View this messag

Re: Recording: Variable from User Defined Variables in Patterns to Include

2014-12-29 Thread SanderW
sebb-2-2 wrote > Yes. > But you don't say what you have tried so it's impossible to debug the > issue. Sorry, you are right. I have a variable called "Env" with value "acp" in User Defined Variables. In the Test Script Recorder I have tried the following URL Patterns to Include: .*.(tst|acp).some

Re: Recording: Variable from User Defined Variables in Patterns to Include

2014-12-30 Thread SanderW
Hi Glinius, The only thing that is different is that "somehost" is replaced by the company name I'm currently working as an external. I don't know if they like it when I place their name here. The rest of the hostname is exactly how it is, but for a working example use the attached jmx-file. JMet

How do I replacing null in beanshell by empty string

2014-12-30 Thread SanderW
Hi, I'm getting the following response from a server (the actual response contains almost 50 variables): /var s0={};var s1="John Allen";s0.firstnames=s1;var s2=null;s0.prefix=s2;var s3="Doe";s0.lastname=s3; DWREngine._handleResponse('97_1420006799508', s0);/ I'm using BSF PostProcessor to put al

Re: How do I replacing null in beanshell by empty string

2014-12-30 Thread SanderW
Hi Chaitanya, It is a little overkill to put this in for each variable (50 times). I'm more looking for a replace all. If I use this: log.info(prev.getResponseDataAsString().replaceAll("null","")); then I see that the nulls are being replaced, but I can't seem to get it working in the script. My

Re: How do I replacing null in beanshell by empty string

2014-12-31 Thread SanderW
Ah found it. I was replacing the null with "", but this resulted in: /var s0={};var s1="John Allen";s0.firstnames=s1;*var s2=*;s0.prefix=s2;var s3="Doe";s0.lastname=s3; DWREngine._handleResponse('97_1420006799508', s0);/ So s2 does now not have a value at all. What I should have done is: (new Fu

Re: Increment counter by 1 for each test execution.

2015-01-08 Thread SanderW
Add --> Config Element --> Counter -- View this message in context: http://jmeter.512774.n5.nabble.com/Increment-counter-by-1-for-each-test-execution-tp5721603p5721604.html Sent from the JMeter - User mailing list archive at Nabble.com. -

Re: Increment counter by 1 for each test execution.

2015-01-08 Thread SanderW
First of all it's not necessary to ask the same question in multiple old threads. My suggested way is probably not the most efficient You can create your own property-file and use that. Add the line "user.properties=sequencenr.properties" to jmeter.properties sequencenr.properties has 1 entry:

Re: Increment counter by 1 for each test execution.

2015-01-08 Thread SanderW
First of all it's not necessary to ask the same question in multiple old threads. My suggested way is probably not the most efficient Create a new testplan with 2 thread groups and on testplan level make sure "Run Thread Groups consecutively" is checked. The first thread group is executed with

Re: Saving all responses (including resources) during recording with filenames

2015-01-09 Thread SanderW
Nobody has an idea yet? I still can't find out where the null in the names is coming from -- View this message in context: http://jmeter.512774.n5.nabble.com/Saving-all-responses-including-resources-during-recording-with-filenames-tp5721298p5721607.html Sent from the JMeter - User mailing list

Re: Saving all responses (including resources) during recording with filenames

2015-01-11 Thread SanderW
Thanks for your reply, Sebb. So it doesn't matter if you have the "Add timestamp" in the "Save Responses to a file" checked or unchecked. I would expect the null not to appear when I have that option unchecked. And what about the filenames? Is it possible to give the files the same names as the H

Where do I specificy a channel for JMS Point-to-Point Sampler

2015-01-26 Thread SanderW
Hi all, I just got a working JMeter script delivered that uses JMS Point-to-Point Samplers. It works perfectly for small messages, but when I send a XML-file that is 23 MB, I'm getting an eror from Websphere: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2010' ('MQRC_DATA_LEN

Re: Where do I specificy a channel for JMS Point-to-Point Sampler

2015-01-27 Thread SanderW
To answer my own question : The technical guys were wrong. This morning I had a Wireshark capture running along and in it I could see I was using the correct channel. The channel is defined in the bindingsfile, which I already was using in the Provider URL. The tech-guys also said the correct ch

RE: jmeter while loop problem

2015-01-27 Thread SanderW
Hi Erez, I just tested your issue and Shetty is giving the correct solution --> use javaScript with capital S Single quote or double quote does not matter. It works fine with single quotes -- View this message in context: http://jmeter.512774.n5.nabble.com/jmeter-while-loop-problem-tp572166

Re: Test Script Recorded: change suggested excludes

2015-01-27 Thread SanderW
.*\.(bmp|css|js|gif|ico|jpe?g|png|swf|woff).* -- View this message in context: http://jmeter.512774.n5.nabble.com/Test-Script-Recorded-change-suggested-excludes-tp5721679p5721680.html Sent from the JMeter - User mailing list archive at Nabble.com. --

Re: How can I make beanshell to write only once to the console?

2015-03-02 Thread SanderW
Hi Erez, Something like this: File eFile = new File("C:/Erez-test.txt"); if(!eFile.exists()) { // Create a file f = new FileOutputStream(eFile, true); p = new PrintStream(f); p.println("Column1\tColumn2\tColumn3"); p.close(); f.close(); } //

Re: Loop Controller

2015-03-02 Thread SanderW
Hi Erez, Do you have the CSV Data Set Config inside your loop controller? I just tested it and it works. Kind Regards, Sander -- View this message in context: http://jmeter.512774.n5.nabble.com/Loop-Controller-tp5721872p5721879.html Sent from the JMeter - User mailing list archive at Nabble.

Re: File uploading

2015-03-16 Thread SanderW
Hi, Also try it with implementation Java in your HTTP requests. I ran into the same issue once with uploading files Kind Regards -- View this message in context: http://jmeter.512774.n5.nabble.com/File-uploading-tp5721928p5721933.html Sent from the JMeter - User mailing list archive at Nabbl

Getting stacktrace for org.apache.jorphan.util.JMeterException

2015-09-07 Thread SanderW
Hi, I'm using a BeanShell PostProcessor for parsing a JSON response. For that I'm using Ralf Sternberg’s slim JSON parser for Java (http://eclipsesource.com/blogs/2013/04/18/minimal-json-parser-for-java/) When using a for-loop I get an error "Can't iterate over type: class com.eclipsesource.json.

Missing samples in JMeter listener

2015-10-05 Thread SanderW
Hi all, I'm using JMeter 2.13 and ran a test from the GUI interface with 4 users. I have a thread group which contains a counter config element which I'm sending in the user-agent string. During the test I have a Aggregate Report active which also sends the data to a jtl-file. After the test the

Re: Missing samples in JMeter listener

2015-10-06 Thread SanderW
Hi deepak, Always great to receive an answer from you :-) I've checked all of those. The three missing samples have status code 200 in the access_log from the first server it is . In all cases I would expect JMeter to at least register it as a sample, also if the response would be a 3xx. It shoul

Re: Missing samples in JMeter listener

2015-10-07 Thread SanderW
You are right about the 3xx case. It depends if you redirect automatically in JMeter. The application I'm testing does not make use of re-directs. It is an API application which is called upon with just HTTP GET requests. I think I have an idea why I'm missing the requests. The ones missing are at

Re: Missing samples in JMeter listener

2015-10-08 Thread SanderW
Hi Sebb, JMeter is started with some 3rd party jars, but none of which I'm using in that script. If I load the results in the View Results in Table listener I see sample #1 with Start Time 10:31:03.849. The last sample #6824 has start time 11:31:03.157. The SYSlog from NGINX shows me these last

Re: Missing samples in JMeter listener

2015-10-08 Thread SanderW
sebb-2-2 wrote > On 8 October 2015 at 08:55, SanderW > < > san...@performancearchitecten.nl > > > wrote: > In that case, try again with a vanilla JMeter. I saw this answer coming ;-) sebb-2-2 wrote > Are you using CSV output or XML? > Are there any errors in the j

Re: Missing samples in JMeter listener

2015-10-08 Thread SanderW
Hi Sebb, I did a clean install and built a very simple script which I attached. MissingSampleTest.zip I used all default settings. The Thread Group is executed with 3 users with duration 15 seconds. User 1 always has Thre

How does CSS parser in JMeter 3.0 work?

2016-09-08 Thread SanderW
Hi, >From the documentation I understand that in JMeter 3.0 it is possible to have embedded resources being extracted and downloaded from a CSS file (Bug 59140). Is this correct? I have a homepage which has a resources getting retrieved from the server. One of them is "https://***/includes/css/st

Re: How does CSS parser in JMeter 3.0 work?

2016-09-08 Thread SanderW
Hi Antonio, Please read the problem I described before you place a reaction. I have that option selected and it gets me the resources (like css, png, jpg) from the homepage, but NOT the resources that are coming from one of the css-files. I just counted the number of resources: In the View Resul

Re: How to record a script for specific domain URLs only?

2016-09-15 Thread SanderW
rhintintin wrote > In the URL Patterns to Include include I use .* / > domainname / > .* and that works fine I would not recommend the first wildcard, because sites like google-analytics and log.optimizely sometimes contain your domainname in the GET requests. I use: www.domainname.nl.* as URL Pat

Re: webSockets in JMeter

2017-03-06 Thread SanderW
Unfortunately the websocket sampler does not work with client side proxyservers. I wanted to use it for SignalR, but couldn't get through the proxy server. -- View this message in context: http://www.jmeter-archive.org/webSockets-in-JMeter-tp4530716p5725311.html Sent from the JMeter - User mail