jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Katrina Edgar" <Katrina.Ed...@metservice.com>
Subject Question about JMeter User Properties in automated maven build on Hudson
Date Thu, 12 May 2011 01:57:40 GMT
Hi,

 

I'm fairly new to JMeter and after fighting with passing properties in
to my automated build, I turn to the experts in the hope that someone
might know how to resolve this!

 

I'm  trying to get maven to pass user properties across to my JMeter
scripts that run as part of our automated builds on a Hudson server. I
have included this:

 

 

                       <plugin>

                               <groupId>org.apache.jmeter</groupId>

 
<artifactId>maven-jmeter-plugin</artifactId>

                               <version>1.0-GA</version>

                               <executions>

                                   <execution>

                                       <id>jmeter-tests</id>

                                       <phase>integration-test</phase>

                                   <goals>

                                           <goal>jmeter</goal>

                                       </goals>

                                  </execution>

                               </executions>

                               <configuration>

                               <includes>

 
<include>**AccessLoginPage.jmx</include>

                               </includes>

                                   <jmeterUserProperties>

 
<mango.jmeter.protocol>${automatedbuild.protocol}</mango.jmeter.protocol
>

 
<mango.jmeter.host>${automatedbuild.host}</mango.jmeter.host>

 
<mango.jmeter.port>${automatedbuild.port}</mango.jmeter.port>

 
<mango.jmeter.username>${automatedbuild.username}</mango.jmeter.username
>

 
<mango.jmeter.password>${automatedbuild.password}</mango.jmeter.password
>

                                   </jmeterUserProperties>

 
<reportDir>${project.build.directory}/jmeter-reports</reportDir>

                               </configuration>

                           </plugin>

 

In our POM file, and in the test I attempt to use the parameters like
this (though I've also tried ${__P()} notation with the same result):

 

 

        <HTTPSampler guiclass="HttpTestSampleGui"
testclass="HTTPSampler" testname="HTTP Request" enabled="true">

          <elementProp name="HTTPsampler.Arguments"
elementType="Arguments" guiclass="HTTPArgumentsPanel"
testclass="Arguments" enabled="true">

            <collectionProp name="Arguments.arguments"/>

          </elementProp>

          <stringProp name="HTTPSampler.domain">
${__property(mango.jmeter.host)} </stringProp>

          <stringProp name="HTTPSampler.port">
${__property(mango.jmeter.port)} </stringProp>

          <stringProp name="HTTPSampler.connect_timeout"></stringProp>

          <stringProp name="HTTPSampler.response_timeout"></stringProp>

          <stringProp name="HTTPSampler.protocol">
${__property(mango.jmeter.protocol)} </stringProp>

          <stringProp name="HTTPSampler.contentEncoding"></stringProp>

          <stringProp name="HTTPSampler.path">mango</stringProp>

          <stringProp name="HTTPSampler.method">GET</stringProp>

          <boolProp name="HTTPSampler.follow_redirects">true</boolProp>

          <boolProp name="HTTPSampler.auto_redirects">false</boolProp>

          <boolProp name="HTTPSampler.use_keepalive">true</boolProp>

          <boolProp
name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>

          <boolProp name="HTTPSampler.monitor">false</boolProp>

          <stringProp name="HTTPSampler.embedded_url_re"></stringProp>

        </HTTPSampler>

 

 

In the JMeter debug it doesn't want to convert my properties to their
values due to some issue with running version?

 

2011/05/11 23:17:34 INFO  - jmeter.util.JMeterUtils: Setting Locale to
en_US 

2011/05/11 23:17:34 INFO  - jmeter.JMeter: Setting JMeter property:
mango.jmeter.host=localhost 

2011/05/11 23:17:34 INFO  - jmeter.JMeter: Setting JMeter property:
mango.jmeter.password=password 

2011/05/11 23:17:34 INFO  - jmeter.JMeter: Setting JMeter property:
mango.jmeter.port=8080 

2011/05/11 23:17:34 INFO  - jmeter.JMeter: Setting JMeter property:
mango.jmeter.protocol=http 

2011/05/11 23:17:34 INFO  - jmeter.JMeter: Setting JMeter property:
mango.jmeter.username=superuser 

2011/05/11 23:17:34 INFO  - jmeter.JMeter: Copyright (c) 1998-2010 The
Apache Software Foundation 

2011/05/11 23:17:34 INFO  - jmeter.JMeter: Version 2.4 r961953 

2011/05/11 23:17:34 INFO  - jmeter.JMeter: java.version=1.6.0_20 

2011/05/11 23:17:34 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM)
64-Bit Server VM 

2011/05/11 23:17:34 INFO  - jmeter.JMeter: os.name=Linux 

2011/05/11 23:17:34 INFO  - jmeter.JMeter: os.arch=amd64 

2011/05/11 23:17:34 INFO  - jmeter.JMeter: os.version=2.6.18-164.el5 

2011/05/11 23:17:34 INFO  - jmeter.JMeter: file.encoding=UTF-8 

2011/05/11 23:17:34 INFO  - jmeter.JMeter: Default Locale=English
(United States) 

2011/05/11 23:17:34 INFO  - jmeter.JMeter: JMeter  Locale=English
(United States) 

2011/05/11 23:17:34 INFO  - jmeter.JMeter:
JMeterHome=/home/builder/hudson/workspace/MANGO - TRUNK - Story Tests 

2011/05/11 23:17:34 INFO  - jmeter.JMeter: user.dir
=/home/builder/hudson/workspace/MANGO - TRUNK - Story Tests 

2011/05/11 23:17:34 INFO  - jmeter.JMeter: PWD
=/home/builder/hudson/workspace/MANGO - TRUNK - Story Tests 

2011/05/11 23:17:34 INFO  - jmeter.JMeter: IP: 127.0.0.1 Name: builder-5
FullName: builder-5 

2011/05/11 23:17:34 DEBUG - jmeter.JMeter: ClassPath 

2011/05/11 23:17:34 DEBUG - jmeter.JMeter:
/home/builder/hudson/maven-agent.jar 

2011/05/11 23:17:34 DEBUG - jmeter.JMeter:
/home/builder/hudson/classworlds.jar 

2011/05/11 23:17:34 DEBUG - jmeter.JMeter:
/home/builder/hudson/maven-agent.jar:/home/builder/hudson/classworlds.ja
r 

2011/05/11 23:17:34 INFO  - jmeter.services.FileServer: Default
base=/home/builder/hudson/workspace/MANGO - TRUNK - Story Tests 

2011/05/11 23:17:34 INFO  - jmeter.services.FileServer: Set new
base=/home/builder/hudson/workspace/MANGO - TRUNK - Story
Tests/mango-storytest/src/test/jmeter 

2011/05/11 23:17:34 INFO  - jmeter.JMeter: Loading file:
/home/builder/hudson/workspace/MANGO - TRUNK - Story
Tests/mango-storytest/src/test/jmeter/AccessLoginPage.jmx 

2011/05/11 23:17:35 INFO  - jmeter.save.SaveService: Testplan (JMX)
version: 2.2. Testlog (JTL) version: 2.2 

2011/05/11 23:17:35 INFO  - jmeter.save.SaveService: Using SaveService
properties file encoding UTF-8 

2011/05/11 23:17:35 INFO  - jmeter.save.SaveService: Using SaveService
properties file version 661482 

2011/05/11 23:17:35 INFO  - jmeter.save.SaveService: Using SaveService
properties version 2.1 

2011/05/11 23:17:35 INFO  - jmeter.save.SaveService: All converter
versions present and correct 

2011/05/11 23:17:35 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is
org.apache.jmeter.protocol.http.parser.HtmlParserHTMLParser 

2011/05/11 23:17:35 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for
application/xhtml+xml is
org.apache.jmeter.protocol.http.parser.HtmlParserHTMLParser 

2011/05/11 23:17:35 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml
is org.apache.jmeter.protocol.http.parser.HtmlParserHTMLParser 

2011/05/11 23:17:35 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is
org.apache.jmeter.protocol.http.parser.HtmlParserHTMLParser 

2011/05/11 23:17:35 INFO  -
jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for
text/vnd.wap.wml is
org.apache.jmeter.protocol.http.parser.RegexpHTMLParser 

2011/05/11 23:17:35 INFO  - jmeter.protocol.http.sampler.HTTPSampler:
Maximum connection retries = 10 

2011/05/11 23:17:35 INFO  - jmeter.engine.StandardJMeterEngine: Running
the test! 

2011/05/11 23:17:35 INFO  - jmeter.engine.util.CompoundVariable: Note:
Function class names must contain the string: '.functions.' 

2011/05/11 23:17:35 INFO  - jmeter.engine.util.CompoundVariable: Note:
Function class names must not contain the string: '.gui.' 

2011/05/11 23:17:35 WARN  - jmeter.engine.util.CompoundVariable: Did not
find any functions 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:
org.apache.jmeter.control.gui.TestPlanGui 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:
org.apache.jmeter.testelement.TestPlan 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty: Test Plan 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result: Test Plan 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty: true 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result: true 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.BooleanProperty: false 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: Won't
replace false 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.BooleanProperty: false 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: Won't
replace false 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.TestElementProperty:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.CollectionProperty: [] 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result: [] 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:
org.apache.jmeter.config.gui.ArgumentsPanel 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:
org.apache.jmeter.config.Arguments 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty: User Defined
Variables 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result: User Defined Variables 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty: true 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result: true 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:
org.apache.jmeter.threads.gui.ThreadGroupGui 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:
org.apache.jmeter.threads.ThreadGroup 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty: Thread Group 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result: Thread Group 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.BooleanProperty: true 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: Won't
replace true 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty: continue 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result: continue 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.TestElementProperty:
org.apache.jmeter.control.LoopController@53d18ab3 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.BooleanProperty: false 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: Won't
replace false 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:
org.apache.jmeter.control.gui.LoopControlPanel 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:
org.apache.jmeter.control.LoopController 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty: Loop Controller 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result: Loop Controller 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty: true 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result: true 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty: 1 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result: 1 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result: org.apache.jmeter.control.LoopController@53d18ab3 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty: 1 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result: 1 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty: 1 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result: 1 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.LongProperty: 1303332365000 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: Won't
replace 1303332365000 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.LongProperty: 1303332365000 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: Won't
replace 1303332365000 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.BooleanProperty: false 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: Won't
replace false 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.TestElementProperty:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.CollectionProperty: [] 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result: [] 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:
org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:
org.apache.jmeter.config.Arguments 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty: true 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result: true 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:
org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:
org.apache.jmeter.protocol.http.sampler.HTTPSampler 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty: HTTP Request 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result: HTTP Request 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.BooleanProperty: true 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: Won't
replace true 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:
${__property(mango.jmeter.host)}  

2011/05/11 23:17:35 DEBUG -
jmeter.testelement.property.AbstractProperty: Not running version,
return raw function string 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result:  ${__property(mango.jmeter.host)}  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:
${__property(mango.jmeter.port)}  

2011/05/11 23:17:35 DEBUG -
jmeter.testelement.property.AbstractProperty: Not running version,
return raw function string 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result:  ${__property(mango.jmeter.port)}  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:
${__property(mango.jmeter.protocol)}  

2011/05/11 23:17:35 DEBUG -
jmeter.testelement.property.AbstractProperty: Not running version,
return raw function string 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result:  ${__property(mango.jmeter.protocol)}  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty: mango 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result: mango 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty: GET 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result: GET 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.BooleanProperty: true 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: Won't
replace true 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.BooleanProperty: false 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: Won't
replace false 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.BooleanProperty: true 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: Won't
replace true 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.BooleanProperty: false 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: Won't
replace false 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.BooleanProperty: false 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: Won't
replace false 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result:  

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.BooleanProperty: false 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: Won't
replace false 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.ObjectProperty:
org.apache.jmeter.samplers.SampleSaveConfiguration@305481af 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: Won't
replace org.apache.jmeter.samplers.SampleSaveConfiguration@305481af 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:
/home/builder/hudson/workspace/MANGO - TRUNK - Story
Tests/mango-storytest/target/jmeter-reports/AccessLoginPage-110511.xml 

2011/05/11 23:17:35 DEBUG - jmeter.engine.util.ValueReplacer:
Replacement result: /home/builder/hudson/workspace/MANGO - TRUNK - Story
Tests/mango-storytest/target/jmeter-reports/AccessLoginPage-110511.xml 

2011/05/11 23:17:35 DEBUG -
jmeter.protocol.http.sampler.HTTPSamplerBase: path property is a
org.apache.jmeter.testelement.property.StringProperty 

2011/05/11 23:17:35 DEBUG -
jmeter.protocol.http.sampler.HTTPSamplerBase: path beginning value =
mango 

2011/05/11 23:17:35 DEBUG -
jmeter.protocol.http.sampler.HTTPSamplerBase: Encoding spaces in path 

2011/05/11 23:17:35 DEBUG -
jmeter.protocol.http.sampler.HTTPSamplerBase: path ending value = mango 

2011/05/11 23:17:35 DEBUG - jmeter.reporters.ResultCollector: Opened
file: /home/builder/hudson/workspace/MANGO - TRUNK - Story
Tests/mango-storytest/target/jmeter-reports/AccessLoginPage-110511.xml 

2011/05/11 23:17:35 INFO  - jmeter.JMeter: Running test (1305155855198) 

2011/05/11 23:17:35 INFO  - jmeter.engine.StandardJMeterEngine: Starting
1 threads for group Thread Group. 

2011/05/11 23:17:35 INFO  - jmeter.engine.StandardJMeterEngine: Thread
will continue on error 

2011/05/11 23:17:35 INFO  - jmeter.threads.JMeterThread:
jmeterthread.startearlier=true (see jmeter.properties) 

2011/05/11 23:17:35 INFO  - jmeter.threads.JMeterThread: Running
PostProcessors in forward order 

2011/05/11 23:17:35 INFO  - jmeter.engine.StandardJMeterEngine: All
threads have been started 

2011/05/11 23:17:35 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2 

2011/05/11 23:17:35 DEBUG - jmeter.threads.TestCompiler: adding
controller: org.apache.jmeter.threads.ThreadGroup@6ab2d9e2 to sampler
config 

2011/05/11 23:17:35 DEBUG - jmeter.threads.SamplePackage: configs is
null: false 

2011/05/11 23:17:35 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 2 

2011/05/11 23:17:35 DEBUG - jmeter.threads.TestCompiler: Subtracting
node, stack size = 1 

2011/05/11 23:17:35 INFO  - jmeter.threads.JMeterThread: Thread started:
Thread Group 1-1 

2011/05/11 23:17:35 DEBUG - jmeter.control.GenericController: Calling
next on: org.apache.jmeter.control.LoopController 

2011/05/11 23:17:35 DEBUG -
jmeter.testelement.property.AbstractProperty: Running version, executing
function 

2011/05/11 23:17:35 DEBUG -
jmeter.testelement.property.AbstractProperty: Running version, executing
function 

2011/05/11 23:17:35 DEBUG -
jmeter.testelement.property.AbstractProperty: Running version, executing
function 

2011/05/11 23:17:35 DEBUG -
jmeter.testelement.property.AbstractProperty: Running version, executing
function 

2011/05/11 23:17:35 DEBUG -
jmeter.testelement.property.AbstractProperty: Running version, executing
function 

2011/05/11 23:17:35 INFO  - jmeter.samplers.SampleResult: Note: Sample
TimeStamps are START times 

2011/05/11 23:17:35 INFO  - jmeter.samplers.SampleResult:
sampleresult.default.encoding is set to ISO-8859-1 

2011/05/11 23:17:35 DEBUG - jmeter.control.GenericController: Calling
next on: org.apache.jmeter.control.LoopController 

2011/05/11 23:17:35 INFO  - jmeter.threads.JMeterThread: Thread
finished: Thread Group 1-1 

2011/05/11 23:17:35 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread Thread Group 1-1 

2011/05/11 23:17:35 INFO  - jmeter.engine.StandardJMeterEngine: Stopping
test 

2011/05/11 23:17:35 INFO  - jmeter.engine.StandardJMeterEngine:
Notifying test listeners of end of test 

2011/05/11 23:17:35 DEBUG - jmeter.reporters.ResultCollector: Closing:
/home/builder/hudson/workspace/MANGO - TRUNK - Story
Tests/mango-storytest/target/jmeter-reports/AccessLoginPage-110511.xml 

2011/05/11 23:17:35 INFO  - jmeter.engine.StandardJMeterEngine: Test has
ended

 

 

Which means my result file shows:

 

<testResults version="1.2">

<httpSample t="0" lt="0" ts="0" s="false" lb="Error: " rc="Non HTTP
response code: java.net.MalformedURLException" rm="Non HTTP response
message: unknown protocol:  ${__property(mango.jmeter.protocol)} "
tn="Thread Group 1-1" dt="text" by="676"/>

</testResults>

 

 

Any ideas at all?

 

Thanks,

Katrina

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message