Re: Adding samplers to thread group

2016-05-10 Thread Sharmadha
Stuck with same problem ! Can someone explain about indexing samplers or xml
node model ? Or any other solution ?

Thanks in advance.



--
View this message in context: 
http://jmeter.512774.n5.nabble.com/Adding-samplers-to-thread-group-tp5724140p5724172.html
Sent from the JMeter - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org



Re: PATCH request .unable to submit PATCH request with parameters.

2016-05-10 Thread Deepak Shetty
Did you try use multi-part form-data  for post on the HTTP Sampler ?
http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request
If it doesnt work  compare Jmeter request/response (using View Results
tree) v/s browser
worst case use http://jmeter-plugins.org/wiki/RawRequest/

On Tue, May 10, 2016 at 2:03 AM, Ratna Kar  wrote:

> My requirement is to send multipart/form-data request using jmeter. how can
> i do this ?
>
> I am using the body data as
>
> Content-Type: multipart/form-data; boundary="--1235545443656"
>
> --1235545443656
> Content-Disposition: form-data; name="action"
>
> submit
> --1235545443656
> Content-Disposition: form-data; name="note"
>
> note
> --1235545443656--
>
> This is a PATCH request.
>
> On the server side i am getting error like
>
> org.jvnet.mimepull.MIMEParsingException: Missing start boundary.
>
> Can any one help me ..
> i would like to submit a multipart/form-data request through which i want
> to submit 2 parameters.
>


Re: Generate HAR file using JMeter

2016-05-10 Thread Deepak Shetty
Hi
The short answer is write your own listener (or use any listener that
allows you to write code) and generate whatever output file you want.
However - you do need to remember JMeter is NOT a browser. The information
it captures and what it can report to you is not equivalent to what a
browser can. You need to look at differences before you decide if JMeter is
the tool you want to use for this purpose.

On Mon, May 9, 2016 at 7:08 PM, NaveenKumar Namachivayam <
catchnaveen.psgt...@gmail.com> wrote:

> Hi All,
>
> I am trying to generate HAR files using JMeter for each page navigation in
> my application under test.
>
> Could you please give a heads up on how to get started?
>
> I googled, but couldn't get any useful inputs.
>
> --
> Thank you,
>
> Regards,
> NaveenKumar N
> Visit www.QAInsights.com and www.Testifications.com and www.MyTechCube.com
>


Re: Constant throughput timer feature request

2016-05-10 Thread sebb
On 10 May 2016 at 03:02, Oliver Erlewein  wrote:
> Hi,
>
> Thanks for that. Ill raise it in bugzilla as a CR.
>
> I tested it with -1 (and -100) and it looks like it executes each thread
> once only. Of course that is a 5min high level test so is by no means
> exhaustive. But I'm guessing nobody is using that anyway.

When I tried -1 it calculated the delay as negative so did not delay at all.
There must be something else in the plan that is causing a problem.

Note that using 0 will cause a very high delay and threads will
therefore appear to execute once only.

> As for the sufficiently high number, I am just unsure how much overhead it
> adds.

Exactly the same as using it normally.

But it should be possible to reduce that.

> Cheers Oliver
> On 9/05/2016 21:26, "sebb"  wrote:
>
> On 9 May 2016 at 03:54, Oliver Erlewein  wrote:
>> Hi,
>>
>> I have the need to control the throughput on the constant throughput timer
>> via a variable. That includes the possibility to switch it off. In a lot
> of
>> JMeter areas you can do that by passing a negative value (ex. -1). But not
>> here. -1 will do one iteration only.
>
> Huh?
>
> -1 is not treated specially by the code so why do you think it only
> affects a single iteration?
>
>> Can we change this behaviour? Clearly -1 is not sensible in a constant
>> throughput controller so why not use it to skip it's function?
>
> Feel free to raise a Bugzilla enhancement request.
>
> But a work-round is to use a sufficiently high value so JMeter won't
> need to insert pauses.
>
>> Cheers
>> Oliver
>
> -
> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
> For additional commands, e-mail: user-h...@jmeter.apache.org

-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org



PATCH request .unable to submit PATCH request with parameters.

2016-05-10 Thread Ratna Kar
My requirement is to send multipart/form-data request using jmeter. how can
i do this ?

I am using the body data as

Content-Type: multipart/form-data; boundary="--1235545443656"

--1235545443656
Content-Disposition: form-data; name="action"

submit
--1235545443656
Content-Disposition: form-data; name="note"

note
--1235545443656--

This is a PATCH request.

On the server side i am getting error like

org.jvnet.mimepull.MIMEParsingException: Missing start boundary.

Can any one help me ..
i would like to submit a multipart/form-data request through which i want
to submit 2 parameters.


Re: Generate HAR file using JMeter

2016-05-10 Thread Neill Lima
I know about BrowserMob Proxy (https://github.com/lightbody/browsermob-proxy)
that works with Selenium / Webdriver. It would be fine to be used in a
single user test suite so you can get the timings for individual requests.

Now about having that for JMeter sounds a bit unpractical since
BrowserMob's HAR files are quite heavy depending on the complexity of your
app and also would slow down the JMeter tests. I can't imagine routing
hundreds/thousands requests at same time through BMP - it would require
heavy processing power and the HAR file can go up to a few Gbs, making it
useless.

On Tue, May 10, 2016 at 4:08 AM, NaveenKumar Namachivayam <
catchnaveen.psgt...@gmail.com> wrote:

> Hi All,
>
> I am trying to generate HAR files using JMeter for each page navigation in
> my application under test.
>
> Could you please give a heads up on how to get started?
>
> I googled, but couldn't get any useful inputs.
>
> --
> Thank you,
>
> Regards,
> NaveenKumar N
> Visit www.QAInsights.com and www.Testifications.com and www.MyTechCube.com
>