You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2019/05/20 06:01:24 UTC

[Bug 63451] New: Access Issue with Random Function

https://bz.apache.org/bugzilla/show_bug.cgi?id=63451

            Bug ID: 63451
           Summary: Access Issue with Random Function
           Product: JMeter
           Version: 5.1.1
          Hardware: PC
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: lishaoswal7@gmail.com
  Target Milestone: JMETER_5.1.1

hi All,
Below code works fine when added in bean shell processor of a HTTP
Sampler(request) and generates random number.
${__Random(1,100,temp)}; 
log.info("random number is "+vars.get("temp")); 

However, when I add the same code outside the script and give the path of
script in bean shell processor under FileName option and execute, it throws
error "Attempt to access property on undefined variable or class name"

Any help/suggestions is appreciated.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 63451] Access Issue with Random Function

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63451

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
No feedback, closing

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 63451] Access Issue with Random Function

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63451

--- Comment #2 from Linda Rose <ng...@gmail.com> ---
The article you have shared here very awesome
http://vex3game.com/

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 63451] Access Issue with Random Function

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63451

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
Can you attach jmeter.log and a simple test plan reproducing issue ?
Thank you
Regards

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 63451] Access Issue with Random Function

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63451

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 63451] Access Issue with Random Function

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63451

LISH <li...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

-- 
You are receiving this mail because:
You are the assignee for the bug.