https://issues.apache.org/bugzilla/show_bug.cgi?id=47016

           Summary: BSF sampler with javascript doesn't return values
           Product: JMeter
           Version: 2.3.2
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=23481)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23481)
test plan that demonstrates the bug

Add a BSF Sampler to a Thread Group.
Set the scripting language to javascript.
In the 'script to run' field just put:

return ("test");

and run the test.

In a results tree, in the 'sampler results' tab, you can see now:

Error Count: 1
Response code: 500
Response message: org.apache.bsf.BSFException: JavaScript Error: invalid return

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to