Hi,

I am new to the jmeter. I am facing some issues. Please find the details.

Problem Over view:

we have a web based application who can select the particular product and
they can download the product file. These files are having more 200 MB size.
When we tried to do this via Jmeter it is giving the complete downloading
response time. But our requirement is once we will get the response from
server we need to break the particular transaction and provide the results.

Actually the real user can click the particular product download button then
one pop up window is appearing and saying that you have chosen this product
" Do you want to save or not" like that.
In this place itself we need to break the transaction and provide the
results. Is there any tweaking we need to do in the scripting?

Here I have attached the source code details :

<FORM name=cluster method=post action=redir.do onsubmit="return
validate(document.cluster)">
        <script language="JavaScript">

<select size="15" style="width:300px;"  name="item"><option selected
value="java">java (47.3M)</option>


<input type=radio name="type" value="download"> Download HTTP<input
type=submit value="Go">

and Here I have attached the Jmeter script details which I created for
this scenario :


<HTTPSampler guiclass="HttpTestSampleGui" testclass="HTTPSampler"
testname="Cluster Download" enabled="true">
            <stringProp name="HTTPSampler.path">redir.do</stringProp>
            <stringProp name="HTTPSampler.method">POST</stringProp>
            <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
            <stringProp name="HTTPSampler.protocol"></stringProp>
            <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
            <stringProp name="HTTPSampler.port"></stringProp>
            <elementProp name="HTTPsampler.Arguments"
elementType="Arguments" guiclass="HTTPArgumentsPanel"
testclass="Arguments" testname="User Defined Variables"
enabled="true">
              <collectionProp name="Arguments.arguments">
                <elementProp name="" elementType="HTTPArgument">
                  <stringProp name="Argument.metadata">=</stringProp>
                  <stringProp name="Argument.value">${clusterName}</stringProp>
                  <boolProp name="HTTPArgument.use_equals">true</boolProp>
                  <stringProp name="Argument.name">item</stringProp>
                  <boolProp name="HTTPArgument.always_encode">false</boolProp>
                </elementProp>
                <elementProp name="" elementType="HTTPArgument">
                  <stringProp name="Argument.metadata">=</stringProp>
                  <stringProp name="Argument.value">download</stringProp>
                  <boolProp name="HTTPArgument.use_equals">true</boolProp>
                  <stringProp name="Argument.name">type</stringProp>
                  <boolProp name="HTTPArgument.always_encode">false</boolProp>
                </elementProp>
              </collectionProp>
            </elementProp>
            <stringProp name="HTTPSampler.mimetype"></stringProp>
            <stringProp name="HTTPSampler.FILE_FIELD"></stringProp>
            <stringProp name="HTTPSampler.monitor">false</stringProp>
            <stringProp name="HTTPSampler.domain"></stringProp>
            <stringProp name="HTTPSampler.FILE_NAME"></stringProp>
            <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
          </HTTPSampler>


Please help me to solve this issue.

Thanks in Advance.

Regards
Aru

Reply via email to