problems generating Clojure scripts
Bill Smith <[email protected]> Fri, 23 Mar 2012 13:10:13 -0500
| Newsgroups | gmane.comp.java.grinder.devel |
|---|---|
| Message-ID | <CAKyDFRyk6aaxaFV1W_FWoe0H4u8gUvHN=e3pNKLtHXWdTq1BmQ@mail.gmail.com> |
I found a couple of problems with how the TCP proxy generates Clojure
scripts. First, it uses the wrong syntax for method calls. For example,
it does this:
(. valueFromHiddenInput httpUtilities "an Xpath")
when it should do this:
(.valueFromHiddenInput httpUtilities "an Xpath")
Second, it neglects to end a comment with a linefeed. For example, it does
this:
(set-token :token_cx (.valueFromHiddenInput httpUtilities
"//g:token[@token-id=$token-id]/g:name")
;"012652707207066138651:zudjtuwe28q")
when it should do this:
(set-token :token_cx (.valueFromHiddenInput httpUtilities
"//g:token[@token-id=$token-id]/g:name"))
;"012652707207066138651:zudjtuwe28q"
or alternatively this:
(set-token :token_cx (.valueFromHiddenInput httpUtilities
"//g:token[@token-id=$token-id]/g:name")
;"012652707207066138651:zudjtuwe28q"
)
Shall I submit a fix?
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Grinder-development mailing list
Grinder-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/grinder-development