You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Alex Turner <Al...@Project-Network.com> on 2006/09/06 13:30:08 UTC

Proxy Weirdness - I hate Outlook!

All,

 

When using the proxy server to track browsing, I sometimes get weird path results like these:

 

/Deployview//Admin/DVBTAssocs.phpa1c8479f

/deployview/Admin/DVReportEngineService.php618962df

 

Where the a1x8478f and 618962df (hex I guess) should not be there.

 

Has anyone ever come across this before and if so, does anyone know what is causing it.  It is not a show stopped – just odd.

 

BTW – sometimes when I hit Ctrl V to paste stuff, Outlook sends it instead.  I hate Outlook with passion! (but have to use it because of work).

 

Thanks!

 

AJ

 

 

Alexander J Turner Ph.D. 
HYPERLINK "http://www.deployview.com"www.deployview.com
HYPERLINK "http://www.nerds-central.blogspot.com"www.nerds-central.blogspot.com
HYPERLINK "http://www.project-network.com"www.project-network.com

 


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/438 - Release Date: 05/09/2006
 

Re: how to instruct jMeter to give several values to a POST variable in a test run?

Posted by Jaw Dat <id...@gmail.com>.
On Wed, 2006-09-13 at 18:57 +0100, sebb wrote:
[...]
> users.xml is deprecated. Use CSV DataSet instead.
> 
> S.

Thanks for the reply . So how do I use this feature to do what I
described? I can't find this info on documenation or jmeter wiki. 


On Wed, 2006-09-13 at 18:57 +0100, sebb wrote:
> On 13/09/06, Jaw Dat <id...@gmail.com> wrote:
> > Hello,
> >
> > do you know if I could use users.xml for requests other than login
> > requests - ie use it for parameters that have nothing to do with logging
> > in, and on forms other than login forms.
> >
> > Say I have a site of three pages:
> > login
> > screenone.jsp
> > and screentwo.jsp.
> > I'd like to send multiple values to each of the form inputs on
> > screenone.jsp, such as "%2A", ";", "\"", "'", etc. to stress & security
> > test a webapp,
> > Supposing I can use users.xml for parameters other than username and
> > password, how would I load <paramvalue> data dynamically during runtime,
> > in a loop , and for each of the parameters on the form ?
> >
> 
> users.xml is deprecated. Use CSV DataSet instead.
> 
> S.


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


Re: how to instruct jMeter to give several values to a POST variable in a test run?

Posted by sebb <se...@gmail.com>.
On 13/09/06, Jaw Dat <id...@gmail.com> wrote:
> Hello,
>
> do you know if I could use users.xml for requests other than login
> requests - ie use it for parameters that have nothing to do with logging
> in, and on forms other than login forms.
>
> Say I have a site of three pages:
> login
> screenone.jsp
> and screentwo.jsp.
> I'd like to send multiple values to each of the form inputs on
> screenone.jsp, such as "%2A", ";", "\"", "'", etc. to stress & security
> test a webapp,
> Supposing I can use users.xml for parameters other than username and
> password, how would I load <paramvalue> data dynamically during runtime,
> in a loop , and for each of the parameters on the form ?
>

users.xml is deprecated. Use CSV DataSet instead.

S.

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


Re: how to instruct jMeter to give several values to a POST variable in a test run?

Posted by Jaw Dat <id...@gmail.com>.
Hello,

do you know if I could use users.xml for requests other than login
requests - ie use it for parameters that have nothing to do with logging
in, and on forms other than login forms. 

Say I have a site of three pages:
login
screenone.jsp
and screentwo.jsp. 
I'd like to send multiple values to each of the form inputs on
screenone.jsp, such as "%2A", ";", "\"", "'", etc. to stress & security
test a webapp, 
Supposing I can use users.xml for parameters other than username and
password, how would I load <paramvalue> data dynamically during runtime,
in a loop , and for each of the parameters on the form ?

Thank you for your reply and for any light you help shed on this :)

Darat.


On Fri, 2006-09-08 at 07:56 +0600, Chamal De Silva wrote:
> Jaw Dat ,
>  
> This article contains details on how to do it.
>  
> http://software.newsforge.com/article.pl?sid=04/02/19/1452218&tid=91&tid=89&tid=150&tid=27&tid=31
>  
> Best Regards,
> Chamal.
>  
> 
> 
>  
> On 9/6/06, Jaw Dat <id...@gmail.com> wrote: 
>         In a given HTTP sampler, How do I instruct JMeter to
>         successively set a
>         POST variable to a set of values , from a list of possible
>         values? 
>         
>         I'll rephrase,
>         
>         How do I instruct JMeter to give many values to an HTTP
>         sampler that
>         posts one variable, in the course of a test-run ?
>         
>         How do I tell jmeter to repeat the request, each time setting
>         the 
>         variable to a value from the list.
>         
>         What are the exact steps? In what format and Where do I make a
>         list of
>         the values to be used for the variable I want to Post in the
>         request.
>         
>         please i need more info than a pointer to the documentation. 
>         
>         Thank you.
>         
>         
>         ---------------------------------------------------------------------
>         To unsubscribe, e-mail:
>         jmeter-user-unsubscribe@jakarta.apache.org
>         For additional commands, e-mail:
>         jmeter-user-help@jakarta.apache.org
>         
> 


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


Re: how to instruct jMeter to give several values to a POSTvariable in a test run?

Posted by sebb <se...@gmail.com>.
Or use a global counter (threads will not share values) or the
threadNum() function to generate a unique variable for each thread.

You can then use the variables to generate unique strings to send.
This depends on how much choice you have over the format of the
values.

Or you can create a CSV file containing the different items you want
to send, and use the CSV DataSet Config to read these into variables.

S.
On 08/09/06, Aycock, Glenn W. (JSC-IS)[TES] <gl...@nasa.gov> wrote:
> One thing you might try, if I understand your question correctly, is to
> add a BeanShell pre-processor to the Sampler and do something like this:
>
> sampler.addArgument("varname1", value1);
> sampler.addArgument("varname2", value2);
> sampler.addArgument("varname3", value3);
> sampler.addArgument("varname4", value4);
>
> If you need to concatenate several values into one variable, do it
> beforehand.
>
> I use this method to dynamically post different variables and values.
>
> Alternatively, you might try adding setting up a User Parameters
> preprocessor and use the variables you define there in the Request
> parameters.
>
> Hope this helps,
> Glenn
>
> -----Original Message-----
> From: Jaw Dat [mailto:idarataljawda@gmail.com]
> Sent: Friday, September 08, 2006 12:53 PM
> To: Chamal De Silva
> Cc: JMeter Users List
> Subject: Re: how to instruct jMeter to give several values to a
> POSTvariable in a test run?
>
> This article is very clear on how to iterate over many users for a given
> thread group and its child requests, how about iterating over other
> variables?
>
> Mind you each user would log in once, then perform a number of
> activities (send a number of requests) throughout their session (or
> thread group) How do I simulate sending sets of variables with different
> values ?
> Thanks for the link to the article, and hoping for similarly helpful
> information .
>
>
> On Fri, 2006-09-08 at 07:56 +0600, Chamal De Silva wrote:
> > Jaw Dat ,
> >
> > This article contains details on how to do it.
> >
> > http://software.newsforge.com/article.pl?sid=04/02/19/1452218&tid=91&t
> > id=89&tid=150&tid=27&tid=31
> >
> > Best Regards,
> > Chamal.
> >
> >
> >
> >
> > On 9/6/06, Jaw Dat <id...@gmail.com> wrote:
> >         In a given HTTP sampler, How do I instruct JMeter to
> >         successively set a
> >         POST variable to a set of values , from a list of possible
> >         values?
> >
> >         I'll rephrase,
> >
> >         How do I instruct JMeter to give many values to an HTTP
> >         sampler that
> >         posts one variable, in the course of a test-run ?
> >
> >         How do I tell jmeter to repeat the request, each time setting
> >         the
> >         variable to a value from the list.
> >
> >         What are the exact steps? In what format and Where do I make a
> >         list of
> >         the values to be used for the variable I want to Post in the
> >         request.
> >
> >         please i need more info than a pointer to the documentation.
> >
> >         Thank you.
> >
> >
> >
> ---------------------------------------------------------------------
> >         To unsubscribe, e-mail:
> >         jmeter-user-unsubscribe@jakarta.apache.org
> >         For additional commands, e-mail:
> >         jmeter-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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


RE: how to instruct jMeter to give several values to a POSTvariable in a test run?

Posted by "Aycock, Glenn W. (JSC-IS)[TES]" <gl...@nasa.gov>.
One thing you might try, if I understand your question correctly, is to
add a BeanShell pre-processor to the Sampler and do something like this:

sampler.addArgument("varname1", value1); 
sampler.addArgument("varname2", value2); 
sampler.addArgument("varname3", value3); 
sampler.addArgument("varname4", value4); 

If you need to concatenate several values into one variable, do it
beforehand.

I use this method to dynamically post different variables and values.

Alternatively, you might try adding setting up a User Parameters
preprocessor and use the variables you define there in the Request
parameters.

Hope this helps,
Glenn

-----Original Message-----
From: Jaw Dat [mailto:idarataljawda@gmail.com] 
Sent: Friday, September 08, 2006 12:53 PM
To: Chamal De Silva
Cc: JMeter Users List
Subject: Re: how to instruct jMeter to give several values to a
POSTvariable in a test run?

This article is very clear on how to iterate over many users for a given
thread group and its child requests, how about iterating over other
variables?

Mind you each user would log in once, then perform a number of
activities (send a number of requests) throughout their session (or
thread group) How do I simulate sending sets of variables with different
values ?
Thanks for the link to the article, and hoping for similarly helpful
information .


On Fri, 2006-09-08 at 07:56 +0600, Chamal De Silva wrote:
> Jaw Dat ,
>  
> This article contains details on how to do it.
>  
> http://software.newsforge.com/article.pl?sid=04/02/19/1452218&tid=91&t
> id=89&tid=150&tid=27&tid=31
>  
> Best Regards,
> Chamal.
>  
> 
> 
>  
> On 9/6/06, Jaw Dat <id...@gmail.com> wrote: 
>         In a given HTTP sampler, How do I instruct JMeter to
>         successively set a
>         POST variable to a set of values , from a list of possible
>         values? 
>         
>         I'll rephrase,
>         
>         How do I instruct JMeter to give many values to an HTTP
>         sampler that
>         posts one variable, in the course of a test-run ?
>         
>         How do I tell jmeter to repeat the request, each time setting
>         the 
>         variable to a value from the list.
>         
>         What are the exact steps? In what format and Where do I make a
>         list of
>         the values to be used for the variable I want to Post in the
>         request.
>         
>         please i need more info than a pointer to the documentation. 
>         
>         Thank you.
>         
>         
>
---------------------------------------------------------------------
>         To unsubscribe, e-mail:
>         jmeter-user-unsubscribe@jakarta.apache.org
>         For additional commands, e-mail:
>         jmeter-user-help@jakarta.apache.org
>         
> 


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

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


Re: how to instruct jMeter to give several values to a POST variable in a test run?

Posted by Jaw Dat <id...@gmail.com>.
This article is very clear on how to iterate over many users for a given
thread group and its child requests, 
how about iterating over other variables?

Mind you each user would log in once, then perform a number of
activities (send a number of requests) throughout their session (or
thread group)
How do I simulate sending sets of variables with different values ?
Thanks for the link to the article, and hoping for similarly helpful
information .


On Fri, 2006-09-08 at 07:56 +0600, Chamal De Silva wrote:
> Jaw Dat ,
>  
> This article contains details on how to do it.
>  
> http://software.newsforge.com/article.pl?sid=04/02/19/1452218&tid=91&tid=89&tid=150&tid=27&tid=31
>  
> Best Regards,
> Chamal.
>  
> 
> 
>  
> On 9/6/06, Jaw Dat <id...@gmail.com> wrote: 
>         In a given HTTP sampler, How do I instruct JMeter to
>         successively set a
>         POST variable to a set of values , from a list of possible
>         values? 
>         
>         I'll rephrase,
>         
>         How do I instruct JMeter to give many values to an HTTP
>         sampler that
>         posts one variable, in the course of a test-run ?
>         
>         How do I tell jmeter to repeat the request, each time setting
>         the 
>         variable to a value from the list.
>         
>         What are the exact steps? In what format and Where do I make a
>         list of
>         the values to be used for the variable I want to Post in the
>         request.
>         
>         please i need more info than a pointer to the documentation. 
>         
>         Thank you.
>         
>         
>         ---------------------------------------------------------------------
>         To unsubscribe, e-mail:
>         jmeter-user-unsubscribe@jakarta.apache.org
>         For additional commands, e-mail:
>         jmeter-user-help@jakarta.apache.org
>         
> 


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


Re: how to instruct jMeter to give several values to a POST variable in a test run?

Posted by Chamal De Silva <ch...@gmail.com>.
*Jaw Dat* ,

This article contains details on how to do it.

http://software.newsforge.com/article.pl?sid=04/02/19/1452218&tid=91&tid=89&tid=150&tid=27&tid=31

Best Regards,
Chamal.




On 9/6/06, Jaw Dat <id...@gmail.com> wrote:
>
> In a given HTTP sampler, How do I instruct JMeter to successively set a
> POST variable to a set of values , from a list of possible values?
>
> I'll rephrase,
>
> How do I instruct JMeter to give many values to an HTTP sampler that
> posts one variable, in the course of a test-run ?
>
> How do I tell jmeter to repeat the request, each time setting the
> variable to a value from the list.
>
> What are the exact steps? In what format and Where do I make a list of
> the values to be used for the variable I want to Post in the request.
>
> please i need more info than a pointer to the documentation.
>
> Thank you.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

how to instruct jMeter to give several values to a POST variable in a test run?

Posted by Jaw Dat <id...@gmail.com>.
In a given HTTP sampler, How do I instruct JMeter to successively set a
POST variable to a set of values , from a list of possible values?  

I'll rephrase, 

How do I instruct JMeter to give many values to an HTTP sampler that
posts one variable, in the course of a test-run ?

How do I tell jmeter to repeat the request, each time setting the
variable to a value from the list.

What are the exact steps? In what format and Where do I make a list of
the values to be used for the variable I want to Post in the request.

please i need more info than a pointer to the documentation. 

Thank you.


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