jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rubal <csi...@smart421.com>
Subject Re: How to open exported jmx file in jmeter
Date Mon, 19 Jun 2006 11:40:43 GMT

Hi guys,
With respect to my previous query,I am still waiting for someone to help me
on this.

I opened the exported jmx script & choose Run>Start from menu.I have Result
Tree as Sampler,but I get following errors

Thread Name: Thread Group 1-1
Sample Start: Thu Jan 01 00:00:00 GMT 1970
Load time: 0
HTTP response code: Non HTTP response code
HTTP response message: Non HTTP response message

HTTP response headers:

Do I need to configure HTTP proxy or anything else to run it.May be I don’t
understand the use of exporting it.

Many thanks in advance,
Charanpreet.


Following are the contents of jmx file,
?xml version="1.0" encoding="UTF-8"?>
<node>
<testelement class="org.apache.jmeter.testelement.TestPlan">
<property name="TestPlan.functional_mode">false</property>
<property
name="TestElement.test_class">org.apache.jmeter.testelement.TestPlan</property>
<property
name="TestElement.gui_class">org.apache.jmeter.control.gui.TestPlanGui</property>
<collection name="TestPlan.thread_groups"
class="java.util.LinkedList"></collection>
<property name="TestElement.name">Badboy Test Plan</property>
<testelement name="TestPlan.user_defined_variables"
class="org.apache.jmeter.config.Arguments">
<property
name="TestElement.test_class">org.apache.jmeter.config.Arguments</property>
<property
name="TestElement.gui_class">org.apache.jmeter.config.gui.ArgumentsPanel</property>
<property name="TestElement.name">Argument List</property>
<collection name="Arguments.arguments"
class="java.util.ArrayList"></collection>
</testelement>
</testelement>
<node>
<testelement class="org.apache.jmeter.threads.ThreadGroup">
<property
name="TestElement.test_class">org.apache.jmeter.threads.ThreadGroup</property>
<property
name="TestElement.gui_class">org.apache.jmeter.threads.gui.ThreadGroupGui</property>
<property name="TestElement.name">Thread Group</property>
<testelement name="ThreadGroup.main_controller"
class="org.apache.jmeter.control.LoopController">
<property name="LoopController.continue_forever">false</property>
<property
name="TestElement.test_class">org.apache.jmeter.control.LoopController</property>
<property name="LoopController.loops">1</property>
<property
name="TestElement.gui_class">org.apache.jmeter.control.gui.LoopControlPanel</property>
<property name="TestElement.name">Loop Controller</property>
</testelement>
<property name="ThreadGroup.num_threads">1</property>
<property name="ThreadGroup.ramp_time">1</property>
</testelement>
<node>
<testelement class="org.apache.jmeter.protocol.http.control.CookieManager">
<property
name="TestElement.test_class">org.apache.jmeter.protocol.http.control.CookieManager</property>
<property
name="TestElement.gui_class">org.apache.jmeter.protocol.http.gui.CookiePanel</property>
<property name="TestElement.name">HTTP Cookie Manager</property>
<collection name="CookieManager.cookies"
class="java.util.ArrayList"></collection>
</testelement>
</node>
<node>
<testelement class="org.apache.jmeter.modifiers.UserParameters">
<property
name="TestElement.test_class">org.apache.jmeter.modifiers.UserParameters</property>
<property
name="TestElement.gui_class">org.apache.jmeter.modifiers.gui.UserParametersGui</property>
<property name="TestElement.name">User Parameters</property>
<property name="TestElement.enabled"
propType="org.apache.jmeter.testelement.property.BooleanProperty">true</property>
<property name="TestElement.per_iteration"
propType="org.apache.jmeter.testelement.property.BooleanProperty">true</property>
<collection name="UserParameters.names" class="java.util.ArrayList">
<property name="VIEWSTATE">VIEWSTATE</property><property
name="jsessionid">jsessionid</property></collection>
<collection name="UserParameters.thread_values" class="java.util.ArrayList">
<collection name="" class="java.util.ArrayList">
<property name=""></property><property name=""></property></collection>
</collection>
</testelement>
</node>
<node>
<testelement class="org.apache.jmeter.control.LoopController"><Id>2</Id>
<property
name="TestElement.test_class">org.apache.jmeter.control.LoopController</property>
<property
name="TestElement.gui_class">org.apache.jmeter.control.gui.LoopControlPanel</property>
<property name="TestElement.name">Step 1</property>
<property name="LoopController.loops">1</property>
<property name="TestElement.enabled"
propType="org.apache.jmeter.testelement.property.BooleanProperty">true</property>
<property name="LoopController.continue_forever"
propType="org.apache.jmeter.testelement.property.BooleanProperty">true</property>
</testelement>
<node>
<testelement class="org.apache.jmeter.protocol.http.sampler.HTTPSampler">
<property name="HTTPSampler.mimetype"></property>
<property name="HTTPSampler.follow_redirects">false</property>
<property name="HTTPSampler.domain">registration.o2.co.uk</property>
<property name="HTTPSampler.protocol">https</property>
<property name="HTTPSampler.FILE_FIELD"></property>
<property name="HTTPSampler.FILE_NAME"></property>
<property name="HTTPSampler.path">/Register/PreRegister</property>
<property
name="TestElement.name">https://registration.o2.co.uk/Register/PreRegister</property>
<property name="HTTPSampler.port">443</property>
<property name="HTTPSampler.method">GET</property>
<property
name="TestElement.gui_class">org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui</property>
<property
name="TestElement.test_class">org.apache.jmeter.protocol.http.sampler.HTTPSampler</property>
<property name="HTTPSampler.use_keepalive">true</property>
<collection name="AbstractSampler.assertions"
class="java.util.ArrayList"></collection>
<testelement name="HTTPsampler.Arguments"
class="org.apache.jmeter.config.Arguments">
<property
name="TestElement.gui_class">org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel</property>
<property
name="TestElement.test_class">org.apache.jmeter.config.Arguments</property>
<property name="TestElement.name">Argument List</property>
<collection name="Arguments.arguments" class="java.util.ArrayList">
</collection>
</testelement>
</testelement>
</node>
</node>
</node>
</node>
--
View this message in context: http://www.nabble.com/How-to-open-exported-jmx-file-in-jmeter-t1798995.html#a4934845
Sent from the JMeter - User forum at Nabble.com.


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


Mime
View raw message