[Grinder-use] TCPProxy creates variables with $ in script
Distributed load testing framework - Java, Jython, or Clojure scripts.
Brought to you by:
philipa
From: Claes T T. <cl...@gm...> - 2007-01-30 22:02:50
|
Hello again, earlier today I encountered a problem that turned out be caused by Grinder didn't liked $ sign in a script generated by TCPProxy. I googled on it and found a post describing this exact problem: "I found the cause of the problem here. The framework that our application is running on creates however many variables (field names) are needed on the fly by appending a dollar sign and a sequential number to the variable's base name. TCPProxy was merely grabbing the field name, as is, and prefixing it with "self.token_"." Can anyone tell me if there's a workaround for this. I tried backslash the $ sign but still the same compalint about lexical error. Since I'm no good at python I'm not sure how to fix this. Variables in jython/python seem to have no special character at all, is it as simple as just remove the offending $ sign? And yes, I prefer perl... |