[Webtest] Simple question
Denis N. Antonioli
Denis N. Antonioli" <denis.antonioli@canoo.com
Wed, 27 Jun 2007 18:32:34 +0200
Hi
On 27 juin 07, at 14:10, dav wrote:
> [...]
>>> It is necessary to create a new user to entry to my web site each =20=
>>> time I
>>> run proves, and I have a number that is increased manually each time
>>> that proves are ran.
>> [...]
>>
>> What do mean? What number? Is the number shown on the website? =20
>> What is it for?
>> For what reason do you need the number?
>>
> If I've rightly understood, he wants to run webTest creating user
> "user1". Next time, he'd like to run same test without to previously
> remove this user1, and looks for a way to increment (Francisco
> Javier ?).
>
> I don't know if there is a way to store counter in a file and to
> retrieve it next time tests will be run. But maybe you can try to =20
> create
> user1, user2, etc. until you find next free user (See retry
> http://webtest.canoo.com/webtest/manual/retry.html).
There is an ant task called buildnumber that 'ad, increment, and =20
write a build number to the default file'.
Look into ant's manual.
dav could use this task to set a property just before calling webtest.
best
dna
--=20
Some people, when confronted with a problem, think =91I know, I=92ll use =
=20
regular expressions.=92 Now they have two problems.
- Jamie Zawinski