We too had this problem... setting the content type to text/plain also did not help.
Here is what we found : # "callCount" basically represents the no. of DWR function calls the client is requesting. # this info is required by DWR so, it can construct a list of calls and execute them one after the other. # dwr gets the inputstream on the request and reads each lines.. it expects to get parameters and their values like "callCount=1", "scriptName=DiscountCalculator", "methodName=calculateDiscount", "httpSessioId=FH65865GHFG" etc. each time it reads a line (a parameter=value pair). # in our case the whole string went in as one line "callCount=1scriptName=DiscountCalculatormethodName=calculateDiscounthttpSessioId=FH65865GHFG".... # so, dwr thought that the value for parameter "callCount" was "1scriptName=DiscountCalculatormethodName=calculateDiscounthttpSessioId=FH65865GHFG"... which obviously, is not a number. so this exception. # The other thing that one can do is, add a "&" between "parameter=value" pairs. dwr understands that as well and will work fine. like "callCount=1&scriptName=DiscountCalculator&methodName=calculateDiscount&httpSessioId=FH65865GHFG" Hope understanding this will help you resolve the problem you are facing. -- View this message in context: http://www.nabble.com/Jmeter-with-dwr-ajax-calls-tp18109320p22571582.html Sent from the JMeter - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org