Hi,
If you do not expect xHTML, then you cannot use XPath. (speaking striclty, HTML is weel formed in your example, but if it is supposed to be xHTML then, xHTML is malformed :))
You could use Regular Expressions even though this is quite painful...
You can also try css selectors, this might do the trick ;)
Cheers,
--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "Gatling User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gatling/SdK4WR5aojk/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to gatling+u...@googlegroups.com.
I think you missed the escaping character :)
Try with triple double-quotes around your regex : """ regex """ instead of " regex "
Did you achieve what you wanted to do ? ^^
I didn't understand what was your problem juste before, and now it seems obvious that your regex cannot work.
You didn't use java regular expression syntax. I think your regex should have been :
"Doc Nbr:</th>[ ]{2,}<td>([0-9]*)</td>" instead of "Doc Nbr:</th>/\s{2,}/g<td>([0-9]*)</td>"
I'd try like this personnally ^^
OK, great! ;)