I've done it by setting a user-defined variable for the date, and just changing it 
when I wanted to update the date.  I used search and replace in the .jmx file to do 
so.  If I'd needed it for anything but a short term solution, however, I'd've made a 
function or modifier for it.  Modifier is probably the best way to go (more in line 
with the thinking behind Extractors)

-Mike

On 16 Jan 2003 at 9:09, Scott Eade wrote:

> I can think of two ways:
> 
> 1. It's kind of a hack, but if there is a date on the preceding HTML page
> you could grab it using the __regex() function and then use it on the next
> page.
> 2. Someone could create a new function that provides the current date in
> various formats (perhaps accepting a SimpleDateFormat pattern as a
> parameter).
> 
> Does anyone else have further suggestions?
> 
> Scott
> -- 
> Scott Eade
> Backstage Technologies Pty. Ltd.
> http://www.backstagetech.com.au
> .Mac Chat/AIM: seade at mac dot com
>  
> 
> On 16/01/2003 7:00 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
> 
> > 
> > 
> > I am using JMeter to test the screen flow of a web application.  One of the
> > web
> > pages prompts the user to enter the current date.   I cannot just record the
> > current date as i would like to run this test on any given day.  How can i get
> > the current date sent in an HTTP request on any given day?
> > 
> > Thanks,
> > 
> > Kimberly Ann Fisher
> > 
> > Software Developer
> > 360Commerce
> > 11800 Stonehollow Drive, Suite 100, Austin, TX 78758
> > Work Phone: (512) 491-2611
> > http://www.360Commerce.com
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 



--
Michael Stover
[EMAIL PROTECTED]
Yahoo IM: mstover_ya
ICQ: 152975688
AIM: mstover777

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to