Thank you for your answer Jeff I can quite easily use a regex to parse a string and inject the content of an csv file. The problem is that i don't know how to find in the string the parameters i want to replace. I can find it when it is a string, but not when it is a number. The end of my string is :
|1|2|3|4|1|5|6|7|1|8|9|10|0|7|9|11|0|12|12|11|0|9|9|11|0|13|13|11|0|14| 14|11|0|15|15|11|0|16|16|11|0|17|17|11|0|18|18|11|0|19|19|0|20|21|5|0| 0|1|22|0|23|3|24| And when i change one parameter and i recapture the request with JMeter or Grinder, more than one number change. On Aug 12, 12:34 pm, Jeff Chimene <jchim...@gmail.com> wrote: > On 08/12/2011 07:48 AM, Benoit Cantais wrote: > > > > > > > > > > > Hi, > > > Is there any easy way to make parameterizable load test for GWT ? I > > tried to use JMeter and Grinder. But when i get the generated script > > of my test, both of these tools gave me an unreadable request. The > > scripts works fine but it doesn't appear to be easily reusable with > > different parameters. > > > Result with grinder : > > > /* Understandable code */ > > > result = request101.POST('URL_path', > > '5|0|15|http://URLPATH/|AAE01B9BA413A1202D73415F6358B8FA| > > net.customware.gwt.dispatch.client.service.DispatchService|execute| > > net.customware.gwt.dispatch.shared.Action|............... > > 962170901|.......|2|', > > ( NVPair('Content-Type', 'text/x-gwt-rpc; charset=utf-8'), )) > > > /* Understandable code */ > > > I am not able to find how to put the variables in this result. > > Any language that has a nice regex parser could take this string apart > and reassemble it with the contents of a .csv > > I'd put my marker on Perl, but when you know that language. every > problem looks like a nail. > > > > > > > > > > > For example, i am actually trying to test a login page. > > > I need two parameters : The login and the password. I would like to > > make load test with login/password coming from a .csv (for example) > > file, to test what happen when 100 people try to login in > > simultaneously. > > > Thank you for your help. Sorry for my english. > > > Benoit -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.