Gatling 1.1.0 : regex checks ?

Hi,

I’m trying out the 1.1.0 snapshot, I saw this example in the doc :

check(regex("""https://(.*)/.*""")
      .findAll
      .eq(List("www.google.com", "www.mysecuredsite.com"))

But this, gives me the follow error on my laptop :

D:\tools\gatling-charts-highcharts-1.1.0-SNAPSHOT\user-files\simulations\buy_ser
vice\BuyService.scala:72: error: type mismatch;
found : Boolean
required: com.excilys.ebi.gatling.http.check.HttpCheck
regex(""“https://(.)/.
“””) .findAll .eq(List(“www.google.com”, “www.mysecuredsite.com”))
^
one error found
at com.excilys.ebi.gatling.app.Gatling$$anonfun$compile$1.apply(Gatling.scala:161)

any clue ?

cheers
Nicolas

Arf… my bad, I’ve missed this one while updating the doc. I’ll fix this ASAP.

As explained here, you have to use “is” instead of “eq”:
https://github.com/excilys/gatling/wiki/Migrating

But first of all, you’d better use the stable 1.1.0 release.
http://gatling-tool.org/

Thanks for reporting!

Steph

2012/3/23 Nicolas R. <nicolas.remond@gmail.com>

I see why I got confused about the 1.1.0 release … you updated the link on the homepage but not the labels :wink:

It’s still :

You can download it here:

thanks
Nicolas

I promise I’ll never do a release at 4AM again…
Fixed.
Thanks!

2012/3/23 Nicolas R. <nicolas.remond@gmail.com>