Re: how to use jmeter to send form data to server.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: how to use jmeter to send form data to server.

Shabana Shabana
Hi,

Wel just go for  Http proxy recorder to be more  precise
or  httpsampler has  a http request were you have a get/post method
just select the post.

I think this is all you wanted.

On 5/4/05, Vinay Gadekar <[hidden email]> wrote:

>  Hi,
>
>  I am new to Jmeter, just now register and want to ask few quick questions.
>
>  How can I submit form data using jmeter.
>  My requirement is like this
>
>  signinpage->getsome data->submit.
>
>  I have dropdown list, radio button and many dynamic entity which will be render depening on the choice
>  I mand while selecting dropdown list. now all this data is sent using POST and forms.
>
>  Can you please tell me how to do that?
>
>  Waiting eagerly for reply.
>
>  Regards,
>  Vinay Gadekar.
>  Phone : +91 20 605 4452 Ext 472.
>  Nihilent Technologies Ltd. Pune, India.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Regression/Functional Testing How To

Stephan Wiesner
Hi list,

Background:
here are some ideas about how to use Jmeter for functional and regression testing. We have started only a few weeks ago with that and I would greatly appreciate any experience reports.

Recording:
Say we have the requirement to let users register themselves. There are the usual restriction on the data.
Now, I start the recorder of Jmeter and click through the application, entering data that leads to error messages and finally filling it correct. Now back in Jmeter I add assertions to ensure the error messages are displayed correctly.
This does work, but is very cumbersome (for more complex requirements), especially when the requirements start to change.

Problem:
In many cases it would be enough to parse all responses for a keyword indicating an error, with a handful of handpicked assertions in the middle. If this keyword exists, the test should be terminated, otherwise one can assume that everything is fine.
I assume this can be achieved with post processors, I was not able to figure out how, though (any help here?).

Running:
We use Jmeter scripts in our nightly build system for regression testing and the developers can use them for their refactoring to ensure they did not break anything. We wait with the recording until we are fairly sure that the GUI is stable, to minimize our maintenance work.


Stephan




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Regression/Functional Testing How To

Michael Stover
Read the docs on the while controller - it appears it might allow you to
exit your test in the event of a failure thrown by the response
assertion.

-Mike

On Wed, 2005-05-25 at 07:10 +0200, Stephan Wiesner wrote:

> Hi list,
>
> Background:
> here are some ideas about how to use Jmeter for functional and regression testing. We have started only a few weeks ago with that and I would greatly appreciate any experience reports.
>
> Recording:
> Say we have the requirement to let users register themselves. There are the usual restriction on the data.
> Now, I start the recorder of Jmeter and click through the application, entering data that leads to error messages and finally filling it correct. Now back in Jmeter I add assertions to ensure the error messages are displayed correctly.
> This does work, but is very cumbersome (for more complex requirements), especially when the requirements start to change.
>
> Problem:
> In many cases it would be enough to parse all responses for a keyword indicating an error, with a handful of handpicked assertions in the middle. If this keyword exists, the test should be terminated, otherwise one can assume that everything is fine.
> I assume this can be achieved with post processors, I was not able to figure out how, though (any help here?).
>
> Running:
> We use Jmeter scripts in our nightly build system for regression testing and the developers can use them for their refactoring to ensure they did not break anything. We wait with the recording until we are fairly sure that the GUI is stable, to minimize our maintenance work.
>
>
> Stephan
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

AW: Regression/Functional Testing How To

Stephan Wiesner
In reply to this post by Stephan Wiesner
I did read the doc, but no, it does not help me.
The while controller and the Regular Expression Extractor are not understandable (to me, that is).
An example would help me here.

Stephan

-----Urspr√ľngliche Nachricht-----
Von: Michael Stover [mailto:[hidden email]]
Gesendet: Mittwoch, 25. Mai 2005 14:47
An: [hidden email]
Betreff: Re: Regression/Functional Testing How To


Read the docs on the while controller - it appears it might allow you to
exit your test in the event of a failure thrown by the response
assertion.

-Mike


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]