jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stover, Michael" <Michael.Sto...@usa.xerox.com>
Subject RE: Modification Manager Question
Date Tue, 26 Feb 2002 15:51:54 GMT
Your first HTTP Request has no HTML to parse because it is the first HTTP
Request in your test.  It will never work this way.  You need to set up the
HTML Link Parser with a response to parse.  I'd be curious to know what you
are trying to do.

-Mike

> -----Original Message-----
> From: Brian Cochran [mailto:Brian.Cochran@onlineinsight.com]
> Sent: Tuesday, February 26, 2002 10:46 AM
> To: 'jmeter-user@jakarta.apache.org'
> Subject: Modification Manager Question
> 
> 
> I am having a lot of difficulty getting the modification 
> manager to work
> (even on the most simple of web pages). When I add in the 
> HTML Link Parser I
> get a null pointer exception when I try to run. As the app 
> initializes and
> calls addConfigurationItem the AnchorModifier gets a 
> NullPointer. Presumably
> the entry passed to the modifyEntry method is null.
>  
>  
> Here is a stack Trace.
>  
> java.lang.NullPointerException
>         at
> org.apache.jmeter.protocol.http.modifier.AnchorModifier.modify
> Entry(AnchorMo
> difier.java:157)
>         at
> org.apache.jmeter.control.ModifyController.addConfigElements(M
> odifyControlle
> r.java:158)
>         at
> org.apache.jmeter.control.GenericController.configureEntry(Gen
> ericController
> .java:464)
>         at
> org.apache.jmeter.control.GenericController.nextEntry(GenericC
> ontroller.java
> :284)
>         at
> org.apache.jmeter.control.GenericController.nextEntry(GenericC
> ontroller.java
> :273)
>         at
> org.apache.jmeter.control.LoopController.nextEntry(LoopControl
> ler.java:244)
>         at 
> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:120)
>         at java.lang.Thread.run(Thread.java:498)
>  
> My tree looks like this
>  
> Test Plan
>   - ThreadGroup
>     - Modification Manager
>        - HTML Link Parser
>        - HTTP Request
>        - HTTP Request
>        - HTTP Request
>  
> I have tried this with both the 1.7b3 and with the nightly build to no
> avial. I have tried a few other Tree structures as well such 
> as putting the
> HTTP Requests inside a simple controller inside the 
> Modification manager but
> this has not worked either.
>  
> If any ideas, I would greatly apprciate it.
>  
> Thanks in advance,
> Brian
> 
> --
> To unsubscribe, e-mail:   
> <mailto:jmeter-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:jmeter-user-help@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <mailto:jmeter-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jmeter-user-help@jakarta.apache.org>


Mime
View raw message