Hi Riji,

I am following below tutorial

https://theholyjava.wordpress.com/2010/06/04/webservice-testing-with-jmeter-passing-data-from-a-response-to-another-request/

yes I am also thinking I am making some mistakes regarding plugins. but I
installed all and worry ablout jar as this issue with class path.

2016/10/07 17:41:20 INFO  - jmeter.engine.StandardJMeterEngine: Running the
test!
2016/10/07 17:41:20 INFO  - jmeter.samplers.SampleEvent: List of
sample_variables: []
2016/10/07 17:41:20 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(true,*local*)
2016/10/07 17:41:20 INFO  - jmeter.engine.StandardJMeterEngine: Starting
ThreadGroup: 1 : Number of Users
2016/10/07 17:41:20 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1
threads for group Number of Users.
2016/10/07 17:41:20 INFO  - jmeter.engine.StandardJMeterEngine: Thread will
continue on error
2016/10/07 17:41:20 INFO  - jmeter.threads.ThreadGroup: Starting thread
group number 1 threads 1 ramp-up 5 perThread 5000.0 delayedStart=false
2016/10/07 17:41:20 INFO  - jmeter.threads.ThreadGroup: Started thread
group number 1
2016/10/07 17:41:20 INFO  - jmeter.engine.StandardJMeterEngine: All thread
groups have been started
2016/10/07 17:41:20 INFO  - jmeter.threads.JMeterThread: Thread started:
Number of Users 1-1
2016/10/07 17:41:20 INFO  - jmeter.services.FileServer: Stored:
CustomerAccountCreate.csv
2016/10/07 17:41:20 INFO  - jmeter.services.FileServer: Stored:
Create_Contact.csv
2016/10/07 17:41:21 ERROR - jmeter.util.BeanShellInterpreter: Error
invoking bsh method: eval Sourced file: inline evaluation of: ``import
org.apache.jmeter.protocol.http.sampler.WebServiceSampler; //WebServiceSa .
. . '' : Typed variable declaration : Class: WebServiceSampler not found in
namespace
2016/10/07 17:41:21 WARN  - jmeter.modifiers.BeanShellPreProcessor: Problem
in BeanShell script org.apache.jorphan.util.JMeterException: Error invoking
bsh method: eval Sourced file: inline evaluation of: ``import
org.apache.jmeter.protocol.http.sampler.WebServiceSampler; //WebServiceSa .
. . '' : Typed variable declaration : Class: WebServiceSampler not found in
namespace
2016/10/07 17:41:21 INFO  - jmeter.threads.JMeterThread: Thread is done:
Number of Users 1-1
2016/10/07 17:41:21 INFO  - jmeter.threads.JMeterThread: Thread finished:
Number of Users 1-1
2016/10/07 17:41:21 INFO  - jmeter.engine.StandardJMeterEngine: Notifying
test listeners of end of test
2016/10/07 17:41:21 INFO  - jmeter.services.FileServer: Close:
CustomerAccountCreate.csv
2016/10/07 17:41:21 INFO  - jmeter.services.FileServer: Close:
Create_Contact.csv
2016/10/07 17:41:21 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(false,*local*)

On Fri, Oct 7, 2016 at 5:29 PM, Riji K <[email protected]> wrote:

> Hi
>
> How do you extract the values from the previous request?? in the Bean-shell
> are you using vars.get to get the values and vars.put to assign the value
> .?? Also check if you have all the Plugins available to run the bean-shell.
>
> Regards,
> Riji K
>
> Regards,
> Riji K
>
> On Fri, Oct 7, 2016 at 2:15 PM, SAGAR JISKAR <[email protected]>
> wrote:
>
> > Hi All,
> >
> > I am getting below error for the BeanShell PreProcessor.
> >
> > I need to put response of first sample to request of second request.
> >
> > Let me know if you needed any additional details.
> >
> >
> > 2016/10/07 16:27:55 WARN  - jmeter.testbeans.BeanInfoSupport: Localized
> > strings not available for bean class
> > kg.apc.jmeter.config.redis.RedisDataSet java.util.
> > MissingResourceException:
> > Can't find bundle for base name
> > kg.apc.jmeter.config.redis.RedisDataSetResources, locale en_US
> > at java.util.ResourceBundle.throwMissingResourceException(Unknown
> Source)
> > at java.util.ResourceBundle.getBundleImpl(Unknown Source)
> > at java.util.ResourceBundle.getBundle(Unknown Source)
> > at
> > org.apache.jmeter.testbeans.BeanInfoSupport.<init>(
> > BeanInfoSupport.java:126)
> > at
> > kg.apc.jmeter.config.redis.RedisDataSetBeanInfo.<init>(
> > RedisDataSetBeanInfo.java:69)
> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> > at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
> > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> > Source)
> > at java.lang.reflect.Constructor.newInstance(Unknown Source)
> > at java.lang.Class.newInstance(Unknown Source)
> > at com.sun.beans.finder.InstanceFinder.instantiate(Unknown Source)
> > at com.sun.beans.finder.InstanceFinder.find(Unknown Source)
> > at java.beans.Introspector.findExplicitBeanInfo(Unknown Source)
> > at java.beans.Introspector.<init>(Unknown Source)
> > at java.beans.Introspector.getBeanInfo(Unknown Source)
> > at org.apache.jmeter.testbeans.gui.TestBeanGUI.<init>(
> > TestBeanGUI.java:168)
> > at
> > org.apache.jmeter.gui.util.MenuFactory.initializeMenus(
> > MenuFactory.java:488)
> > at org.apache.jmeter.gui.util.MenuFactory.<clinit>(MenuFactory.java:160)
> > at
> > org.apache.jmeter.control.gui.TestPlanGui.createPopupMenu(
> > TestPlanGui.java:93)
> > at
> > org.apache.jmeter.gui.tree.JMeterTreeNode.createPopupMenu(
> > JMeterTreeNode.java:156)
> > at org.apache.jmeter.gui.action.EditCommand.doAction(
> EditCommand.java:47)
> > at
> > org.apache.jmeter.gui.action.ActionRouter.performAction(
> > ActionRouter.java:80)
> > at
> > org.apache.jmeter.gui.action.ActionRouter.access$000(
> ActionRouter.java:40)
> > at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
> > at java.awt.event.InvocationEvent.dispatch(Unknown Source)
> > at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> > at java.awt.EventQueue.access$500(Unknown Source)
> > at java.awt.EventQueue$3.run(Unknown Source)
> > at java.awt.EventQueue$3.run(Unknown Source)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at
> > java.security.ProtectionDomain$JavaSecurityAccessImpl.
> > doIntersectionPrivilege(Unknown
> > Source)
> > at java.awt.EventQueue.dispatchEvent(Unknown Source)
> > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> > at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> > at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> > at java.awt.EventDispatchThread.run(Unknown Source)
> >
> > 2016/10/07 16:27:55 INFO  - jmeter.util.BSFTestElement: Registering
> JMeter
> > version of JavaScript engine as work-round for BSF-22
> > 2016/10/07 16:27:56 INFO  - jmeter.protocol.http.sampler.
> HTTPSamplerBase:
> > Parser for text/html is
> > org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
> > 2016/10/07 16:27:56 INFO  - jmeter.protocol.http.sampler.
> HTTPSamplerBase:
> > Parser for application/xhtml+xml is
> > org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
> > 2016/10/07 16:27:56 INFO  - jmeter.protocol.http.sampler.
> HTTPSamplerBase:
> > Parser for application/xml is
> > org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
> > 2016/10/07 16:27:56 INFO  - jmeter.protocol.http.sampler.
> HTTPSamplerBase:
> > Parser for text/xml is
> > org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
> > 2016/10/07 16:27:56 INFO  - jmeter.protocol.http.sampler.
> HTTPSamplerBase:
> > Parser for text/vnd.wap.wml is
> > org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
> > 2016/10/07 16:27:56 INFO  - jmeter.protocol.http.sampler.
> HTTPSamplerBase:
> > Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser
> > 2016/10/07 16:27:56 INFO  - jorphan.exec.KeyToolUtils: keytool found at
> > 'C:\Program Files\Java\jre1.8.0_101\bin\keytool'
> > 2016/10/07 16:27:56 INFO  - jmeter.protocol.http.proxy.ProxyControl:
> > HTTP(S) Test Script Recorder SSL Proxy will use keys that support
> embedded
> > 3rd party resources in file C:\Users\User\Desktop\Performance
> > Testing\apache-jmeter-3.0\apache-jmeter-3.0\apache-
> > jmeter-3.0\bin\proxyserver.jks
> > 2016/10/07 16:27:56 INFO  - jmeter.gui.util.MenuFactory: Skipping
> > org.apache.jmeter.protocol.mongodb.config.MongoSourceElement
> > 2016/10/07 16:27:56 INFO  - jmeter.gui.util.MenuFactory: Skipping
> > org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler
> > 2016/10/07 16:27:56 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string
> > not found: [mqtt_qos]
> > 2016/10/07 16:27:56 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string
> > not found: [mqtt_at_most_once]
> > 2016/10/07 16:27:56 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string
> > not found: [mqtt_at_least_once]
> > 2016/10/07 16:27:56 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string
> > not found: [mqtt_exactly_once]
> > 2016/10/07 16:27:56 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string
> > not found: [mqtt_client_types]
> > 2016/10/07 16:27:56 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string
> > not found: [mqtt_blocking_client]
> > 2016/10/07 16:27:56 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string
> > not found: [mqtt_async_client]
> > 2016/10/07 16:27:56 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string
> > not found: [mqtt_message_input_type]
> > 2016/10/07 16:27:56 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string
> > not found: [mqtt_message_input_type_text]
> > 2016/10/07 16:27:56 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string
> > not found: [mqtt_message_input_type_file]
> > 2016/10/07 16:27:57 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string
> > not found: [mqtt_qos]
> > 2016/10/07 16:27:57 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string
> > not found: [mqtt_at_most_once]
> > 2016/10/07 16:27:57 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string
> > not found: [mqtt_at_least_once]
> > 2016/10/07 16:27:57 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string
> > not found: [mqtt_exactly_once]
> > 2016/10/07 16:27:57 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string
> > not found: [mqtt_client_types]
> > 2016/10/07 16:27:57 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string
> > not found: [mqtt_blocking_client]
> > 2016/10/07 16:27:57 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string
> > not found: [mqtt_async_client]
> > 2016/10/07 16:27:57 INFO  - jmeter.gui.util.MenuFactory: Skipping
> > org.apache.jmeter.visualizers.DistributionGraphVisualizer
> > 2016/10/07 16:27:57 INFO  - jmeter.samplers.SampleResult: Note: Sample
> > TimeStamps are START times
> > 2016/10/07 16:27:57 INFO  - jmeter.samplers.SampleResult:
> > sampleresult.default.encoding is set to ISO-8859-1
> > 2016/10/07 16:27:57 INFO  - jmeter.samplers.SampleResult:
> > sampleresult.useNanoTime=true
> > 2016/10/07 16:27:57 INFO  - jmeter.samplers.SampleResult:
> > sampleresult.nanoThreadSleep=5000
> > 2016/10/07 16:27:57 INFO  - jmeter.gui.util.MenuFactory: Skipping
> > org.apache.jmeter.visualizers.SplineVisualizer
> > 2016/10/07 16:28:16 INFO  - jmeter.services.FileServer: Default
> > base='C:\Users\User\Desktop\Performance
> > Testing\apache-jmeter-3.0\apache-jmeter-3.0\apache-jmeter-3.0\bin'
> > 2016/10/07 16:28:16 INFO  - jmeter.gui.action.Load: Loading file:
> > C:\Users\User\Desktop\Performance Testing\Jmeter_Script_Celcom\New
> > Resgistraion Postpaid\Test1_Responce.jmx
> > 2016/10/07 16:28:16 INFO  - jmeter.services.FileServer: Set new
> > base='C:\Users\User\Desktop\Performance Testing\Jmeter_Script_Celcom\New
> > Resgistraion Postpaid'
> > 2016/10/07 16:28:16 INFO  - jmeter.save.SaveService: Testplan (JMX)
> > version: 2.2. Testlog (JTL) version: 2.2
> > 2016/10/07 16:28:16 INFO  - jmeter.save.SaveService: Using SaveService
> > properties file encoding UTF-8
> > 2016/10/07 16:28:16 INFO  - jmeter.save.SaveService: Using SaveService
> > properties version 2.9
> > 2016/10/07 16:28:16 INFO  - jmeter.save.SaveService: All converter
> versions
> > present and correct
> > 2016/10/07 16:28:16 INFO  - jmeter.save.SaveService: Loading file:
> > C:\Users\User\Desktop\Performance Testing\Jmeter_Script_Celcom\New
> > Resgistraion Postpaid\Test1_Responce.jmx
> > 2016/10/07 16:28:16 INFO  - jmeter.services.FileServer: Set new
> > base='C:\Users\User\Desktop\Performance Testing\Jmeter_Script_Celcom\New
> > Resgistraion Postpaid'
> > 2016/10/07 16:28:28 INFO  - jmeter.engine.StandardJMeterEngine: Running
> > the
> > test!
> > 2016/10/07 16:28:28 INFO  - jmeter.samplers.SampleEvent: List of
> > sample_variables: []
> > 2016/10/07 16:28:28 INFO  - jmeter.samplers.SampleEvent: List of
> > sample_variables: []
> > 2016/10/07 16:28:28 INFO  - jmeter.gui.util.JMeterMenuBar:
> > setRunning(true,*local*)
> > 2016/10/07 16:28:28 INFO  - jmeter.engine.StandardJMeterEngine: Starting
> > ThreadGroup: 1 : Number of Users
> > 2016/10/07 16:28:28 INFO  - jmeter.engine.StandardJMeterEngine:
> Starting 1
> > threads for group Number of Users.
> > 2016/10/07 16:28:28 INFO  - jmeter.engine.StandardJMeterEngine: Thread
> > will
> > continue on error
> > 2016/10/07 16:28:28 INFO  - jmeter.threads.ThreadGroup: Starting thread
> > group number 1 threads 1 ramp-up 5 perThread 5000.0 delayedStart=false
> > 2016/10/07 16:28:28 INFO  - jmeter.threads.ThreadGroup: Started thread
> > group number 1
> > 2016/10/07 16:28:28 INFO  - jmeter.engine.StandardJMeterEngine: All
> thread
> > groups have been started
> > 2016/10/07 16:28:29 INFO  - jmeter.threads.JMeterThread: Thread started:
> > Number of Users 1-1
> > 2016/10/07 16:28:29 INFO  - jmeter.services.FileServer: Stored:
> > CustomerAccountCreate.csv
> > 2016/10/07 16:28:29 INFO  - jmeter.services.FileServer: Stored:
> > Create_Contact.csv
> > 2016/10/07 16:28:29 INFO  -
> > jmeter.protocol.http.sampler.HTTPHCAbstractImpl: Local host = 21hw170247
> > 2016/10/07 16:28:29 INFO  - jmeter.protocol.http.sampler.HTTPHC4Impl:
> HTTP
> > request retry count = 0
> > 2016/10/07 16:28:29 ERROR - jmeter.util.BeanShellInterpreter: Error
> > invoking bsh method: eval Sourced file: inline evaluation of: ``import
> > org.apache.jmeter.protocol.http.sampler.WebServiceSampler;
> WebServiceSamp
> > .
> > . . '' : Typed variable declaration : Class: WebServiceSampler not found
> in
> > namespace
> > 2016/10/07 16:28:29 WARN  - jmeter.modifiers.BeanShellPreProcessor:
> > Problem
> > in BeanShell script org.apache.jorphan.util.JMeterException: Error
> > invoking
> > bsh method: eval Sourced file: inline evaluation of: ``import
> > org.apache.jmeter.protocol.http.sampler.WebServiceSampler;
> WebServiceSamp
> > .
> > . . '' : Typed variable declaration : Class: WebServiceSampler not found
> in
> > namespace
> > 2016/10/07 16:28:30 INFO  - jmeter.threads.JMeterThread: Thread is done:
> > Number of Users 1-1
> > 2016/10/07 16:28:30 INFO  - jmeter.threads.JMeterThread: Thread finished:
> > Number of Users 1-1
> > 2016/10/07 16:28:30 INFO  - jmeter.engine.StandardJMeterEngine:
> Notifying
> > test listeners of end of test
> > 2016/10/07 16:28:30 INFO  - jmeter.services.FileServer: Close:
> > CustomerAccountCreate.csv
> > 2016/10/07 16:28:30 INFO  - jmeter.services.FileServer: Close:
> > Create_Contact.csv
> > 2016/10/07 16:28:30 INFO  - jmeter.gui.util.JMeterMenuBar:
> > setRunning(false,*local*)
> >
> >
> > Many Thanks
> > Cheers,
> > Sagar Jiskar
> >
>

Reply via email to