I don't know the proxy code at all, but it looks like adding protocol
somehow causes jmeter to look in the wrong place.

it should try to get
"org/apache/jmeter/protocol/http/sampler/HTTPSampler" instead it has a
variable where "http" would be.

peter


On Thu, 24 Feb 2005 11:50:28 +0100, Coret Bob <[EMAIL PROTECTED]> wrote:
> 
> When I record my script I define some variables like domain and port, when 
> the proxy sees the values these get replaced with the variable names. Great.
> 
> Because we do a lot of testing on http and https I added protocol to my list 
> of variables. This doesn't work! See the following error:
> 
> 2005/02/24 11:47:03 ERROR - jmeter.gui.GuiPackage: Could not get GUI for  
> java.lang.ClassNotFoundException: 
> org/apache/jmeter/protocol/${protocol}/sampler/HTTPSampler
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Unknown Source)
>        at org.apache.jmeter.gui.GuiPackage.getGui(GuiPackage.java:172)
>        at 
> org.apache.jmeter.gui.tree.JMeterTreeModel.addComponent(JMeterTreeModel.java:133)
>        at 
> org.apache.jmeter.protocol.http.proxy.ProxyControl.placeSampler(ProxyControl.java:605)
>        at 
> org.apache.jmeter.protocol.http.proxy.ProxyControl.deliverSampler(ProxyControl.java:274)
>        at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:138)
> 
> Regards,
> Bob
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to