|
Hi,
I ran the test plan SimpleCsvReq.jmx under shell on remote Apple box. The version of OS is Darwin 8.11.1. And version of JMeter is 2.3.4 with JDK 1.5.0_07-87 Following message is output and whole test stopped. kCGErrorRangeCheck : Window Server communications from outside of session allowed for root and console user only Please help me to identify the root cause of issue and solution for go around this issue. Thanks and best regards, Flik The source code of SimpleCsvReq is as below. <?xml version="1.0" encoding="UTF-8"?> <jmeterTestPlan version="1.2" properties="2.1"> <hashTree> <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true"> <stringProp name="TestPlan.comments"></stringProp> <boolProp name="TestPlan.functional_mode">false</boolProp> <boolProp name="TestPlan.serialize_threadgroups">false</boolProp> <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="TestPlan.user_define_classpath"></stringProp> </TestPlan> <hashTree> <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true"> <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> <boolProp name="LoopController.continue_forever">false</boolProp> <stringProp name="LoopController.loops">1000</stringProp> </elementProp> <stringProp name="ThreadGroup.num_threads">10</stringProp> <stringProp name="ThreadGroup.ramp_time">10</stringProp> <longProp name="ThreadGroup.start_time">1273830807000</longProp> <longProp name="ThreadGroup.end_time">1273830807000</longProp> <boolProp name="ThreadGroup.scheduler">false</boolProp> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> <stringProp name="ThreadGroup.duration"></stringProp> <stringProp name="ThreadGroup.delay"></stringProp> </ThreadGroup> <hashTree> <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="CSV Data Set Config" enabled="true"> <stringProp name="filename">SimpleTestData.csv</stringProp> <stringProp name="fileEncoding">UTF-8</stringProp> <stringProp name="variableNames">Num,Keyword</stringProp> <stringProp name="delimiter">,</stringProp> <boolProp name="quotedData">true</boolProp> <boolProp name="recycle">true</boolProp> <boolProp name="stopThread">true</boolProp> <stringProp name="shareMode">All threads</stringProp> </CSVDataSet> <hashTree/> <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 name="action" elementType="HTTPArgument"> <boolProp name="HTTPArgument.always_encode">false</boolProp> <stringProp name="Argument.value">fullsearch</stringProp> <stringProp name="Argument.metadata">=</stringProp> <boolProp name="HTTPArgument.use_equals">true</boolProp> <stringProp name="Argument.name">action</stringProp> </elementProp> <elementProp name="titlesearch" elementType="HTTPArgument"> <boolProp name="HTTPArgument.always_encode">false</boolProp> <stringProp name="Argument.value">1</stringProp> <stringProp name="Argument.metadata">=</stringProp> <boolProp name="HTTPArgument.use_equals">true</boolProp> <stringProp name="Argument.name">titlesearch</stringProp> </elementProp> <elementProp name="value" elementType="HTTPArgument"> <boolProp name="HTTPArgument.always_encode">false</boolProp> <stringProp name="Argument.value">${Keyword}</stringProp> <stringProp name="Argument.metadata">=</stringProp> <boolProp name="HTTPArgument.use_equals">true</boolProp> <stringProp name="Argument.name">value</stringProp> </elementProp> </collectionProp> </elementProp> <stringProp name="HTTPSampler.domain">wiki.apache.org</stringProp> <stringProp name="HTTPSampler.port">80</stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.path">/jakarta-jmeter/FindPage</stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">false</boolProp> <boolProp name="HTTPSampler.auto_redirects">true</boolProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> <stringProp name="HTTPSampler.FILE_NAME"></stringProp> <stringProp name="HTTPSampler.FILE_FIELD"></stringProp> <stringProp name="HTTPSampler.mimetype"></stringProp> <boolProp name="HTTPSampler.monitor">false</boolProp> <stringProp name="HTTPSampler.embedded_url_re"></stringProp> </HTTPSampler> <hashTree/> <ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true"> <boolProp name="ResultCollector.error_logging">false</boolProp> <objProp> <name>saveConfig</name> <value class="SampleSaveConfiguration"> <time>true</time> <latency>true</latency> <timestamp>true</timestamp> <success>true</success> <label>true</label> <code>true</code> <message>true</message> <threadName>true</threadName> <dataType>true</dataType> <encoding>false</encoding> <assertions>true</assertions> <subresults>true</subresults> <responseData>false</responseData> <samplerData>false</samplerData> <xml>true</xml> <fieldNames>false</fieldNames> <responseHeaders>false</responseHeaders> <requestHeaders>false</requestHeaders> <responseDataOnError>false</responseDataOnError> <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> <assertionsResultsToSave>0</assertionsResultsToSave> <bytes>true</bytes> <url>true</url> </value> </objProp> <stringProp name="filename">reports/simple_summary.txt</stringProp> </ResultCollector> <hashTree/> </hashTree> </hashTree> </hashTree> </jmeterTestPlan> The CSV data file looks as below. 1,solr 2,lucene 3,oracle 4,performance lucene **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
|
If I were you I would start investigating if there are missing correlation
for session strings in the http and bean request samplers. -Chaitanya M Bhatt http://www.performancecomptence.com On Tue, May 18, 2010 at 1:18 AM, Flik Shen <[hidden email]> wrote: > Hi, > > I ran the test plan SimpleCsvReq.jmx under shell on remote Apple box. > The version of OS is Darwin 8.11.1. > And version of JMeter is 2.3.4 with JDK 1.5.0_07-87 > Following message is output and whole test stopped. > kCGErrorRangeCheck : Window Server communications from outside of session > allowed for root and console user only > > Please help me to identify the root cause of issue and solution for go > around this issue. > > Thanks and best regards, > Flik > > The source code of SimpleCsvReq is as below. > <?xml version="1.0" encoding="UTF-8"?> > <jmeterTestPlan version="1.2" properties="2.1"> > <hashTree> > <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test > Plan" enabled="true"> > <stringProp name="TestPlan.comments"></stringProp> > <boolProp name="TestPlan.functional_mode">false</boolProp> > <boolProp name="TestPlan.serialize_threadgroups">false</boolProp> > <elementProp name="TestPlan.user_defined_variables" > elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" > testname="User Defined Variables" enabled="true"> > <collectionProp name="Arguments.arguments"/> > </elementProp> > <stringProp name="TestPlan.user_define_classpath"></stringProp> > </TestPlan> > <hashTree> > <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" > testname="Thread Group" enabled="true"> > <elementProp name="ThreadGroup.main_controller" > elementType="LoopController" guiclass="LoopControlPanel" > testclass="LoopController" testname="Loop Controller" enabled="true"> > <boolProp name="LoopController.continue_forever">false</boolProp> > <stringProp name="LoopController.loops">1000</stringProp> > </elementProp> > <stringProp name="ThreadGroup.num_threads">10</stringProp> > <stringProp name="ThreadGroup.ramp_time">10</stringProp> > <longProp name="ThreadGroup.start_time">1273830807000</longProp> > <longProp name="ThreadGroup.end_time">1273830807000</longProp> > <boolProp name="ThreadGroup.scheduler">false</boolProp> > <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> > <stringProp name="ThreadGroup.duration"></stringProp> > <stringProp name="ThreadGroup.delay"></stringProp> > </ThreadGroup> > <hashTree> > <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" > testname="CSV Data Set Config" enabled="true"> > <stringProp name="filename">SimpleTestData.csv</stringProp> > <stringProp name="fileEncoding">UTF-8</stringProp> > <stringProp name="variableNames">Num,Keyword</stringProp> > <stringProp name="delimiter">,</stringProp> > <boolProp name="quotedData">true</boolProp> > <boolProp name="recycle">true</boolProp> > <boolProp name="stopThread">true</boolProp> > <stringProp name="shareMode">All threads</stringProp> > </CSVDataSet> > <hashTree/> > <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 name="action" elementType="HTTPArgument"> > <boolProp name="HTTPArgument.always_encode">false</boolProp> > <stringProp name="Argument.value">fullsearch</stringProp> > <stringProp name="Argument.metadata">=</stringProp> > <boolProp name="HTTPArgument.use_equals">true</boolProp> > <stringProp name="Argument.name">action</stringProp> > </elementProp> > <elementProp name="titlesearch" elementType="HTTPArgument"> > <boolProp name="HTTPArgument.always_encode">false</boolProp> > <stringProp name="Argument.value">1</stringProp> > <stringProp name="Argument.metadata">=</stringProp> > <boolProp name="HTTPArgument.use_equals">true</boolProp> > <stringProp name="Argument.name">titlesearch</stringProp> > </elementProp> > <elementProp name="value" elementType="HTTPArgument"> > <boolProp name="HTTPArgument.always_encode">false</boolProp> > <stringProp name="Argument.value">${Keyword}</stringProp> > <stringProp name="Argument.metadata">=</stringProp> > <boolProp name="HTTPArgument.use_equals">true</boolProp> > <stringProp name="Argument.name">value</stringProp> > </elementProp> > </collectionProp> > </elementProp> > <stringProp name="HTTPSampler.domain">wiki.apache.org > </stringProp> > <stringProp name="HTTPSampler.port">80</stringProp> > <stringProp name="HTTPSampler.connect_timeout"></stringProp> > <stringProp name="HTTPSampler.response_timeout"></stringProp> > <stringProp name="HTTPSampler.protocol">http</stringProp> > <stringProp name="HTTPSampler.contentEncoding"></stringProp> > <stringProp > name="HTTPSampler.path">/jakarta-jmeter/FindPage</stringProp> > <stringProp name="HTTPSampler.method">GET</stringProp> > <boolProp name="HTTPSampler.follow_redirects">false</boolProp> > <boolProp name="HTTPSampler.auto_redirects">true</boolProp> > <boolProp name="HTTPSampler.use_keepalive">true</boolProp> > <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> > <stringProp name="HTTPSampler.FILE_NAME"></stringProp> > <stringProp name="HTTPSampler.FILE_FIELD"></stringProp> > <stringProp name="HTTPSampler.mimetype"></stringProp> > <boolProp name="HTTPSampler.monitor">false</boolProp> > <stringProp name="HTTPSampler.embedded_url_re"></stringProp> > </HTTPSampler> > <hashTree/> > <ResultCollector guiclass="SummaryReport" > testclass="ResultCollector" testname="Summary Report" enabled="true"> > <boolProp name="ResultCollector.error_logging">false</boolProp> > <objProp> > <name>saveConfig</name> > <value class="SampleSaveConfiguration"> > <time>true</time> > <latency>true</latency> > <timestamp>true</timestamp> > <success>true</success> > <label>true</label> > <code>true</code> > <message>true</message> > <threadName>true</threadName> > <dataType>true</dataType> > <encoding>false</encoding> > <assertions>true</assertions> > <subresults>true</subresults> > <responseData>false</responseData> > <samplerData>false</samplerData> > <xml>true</xml> > <fieldNames>false</fieldNames> > <responseHeaders>false</responseHeaders> > <requestHeaders>false</requestHeaders> > <responseDataOnError>false</responseDataOnError> > > <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> > <assertionsResultsToSave>0</assertionsResultsToSave> > <bytes>true</bytes> > <url>true</url> > </value> > </objProp> > <stringProp > name="filename">reports/simple_summary.txt</stringProp> > </ResultCollector> > <hashTree/> > </hashTree> > </hashTree> > </hashTree> > </jmeterTestPlan> > > The CSV data file looks as below. > 1,solr > 2,lucene > 3,oracle > 4,performance lucene > > **************** CAUTION - Disclaimer ***************** > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended > solely > for the use of the addressee(s). If you are not the intended recipient, > please > notify the sender by e-mail and delete the original message. Further, you > are not > to copy, disclose, or distribute this e-mail or its contents to any other > person and > any such actions are unlawful. This e-mail may contain viruses. Infosys has > taken > every reasonable precaution to minimize this risk, but is not liable for > any damage > you may sustain as a result of any virus in this e-mail. You should carry > out your > own virus checks before opening the e-mail or attachment. Infosys reserves > the > right to monitor and review the content of all messages sent to or from > this e-mail > address. Messages sent to or from this e-mail address may be stored on the > Infosys e-mail system. > ***INFOSYS******** End of Disclaimer ********INFOSYS*** > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > |
|
Hi Bhatt,
Thanks for your suggestion. The very simple http request could work perfect. And I also have another DatabaseRequest for fetching data which is stuck by same issue. And CSV request work fine in my private Apple box in GUI. So I wonder whether any special permissions should be granted to JMeter then accessing to all required resources could be allowed. Thanks and best regards, Flik On 5/18/10 4:04 PM, "chaitanya bhatt" <[hidden email]> wrote: If I were you I would start investigating if there are missing correlation for session strings in the http and bean request samplers. -Chaitanya M Bhatt http://www.performancecomptence.com On Tue, May 18, 2010 at 1:18 AM, Flik Shen <[hidden email]> wrote: > Hi, > > I ran the test plan SimpleCsvReq.jmx under shell on remote Apple box. > The version of OS is Darwin 8.11.1. > And version of JMeter is 2.3.4 with JDK 1.5.0_07-87 > Following message is output and whole test stopped. > kCGErrorRangeCheck : Window Server communications from outside of session > allowed for root and console user only > > Please help me to identify the root cause of issue and solution for go > around this issue. > > Thanks and best regards, > Flik > > The source code of SimpleCsvReq is as below. > <?xml version="1.0" encoding="UTF-8"?> > <jmeterTestPlan version="1.2" properties="2.1"> > <hashTree> > <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test > Plan" enabled="true"> > <stringProp name="TestPlan.comments"></stringProp> > <boolProp name="TestPlan.functional_mode">false</boolProp> > <boolProp name="TestPlan.serialize_threadgroups">false</boolProp> > <elementProp name="TestPlan.user_defined_variables" > elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" > testname="User Defined Variables" enabled="true"> > <collectionProp name="Arguments.arguments"/> > </elementProp> > <stringProp name="TestPlan.user_define_classpath"></stringProp> > </TestPlan> > <hashTree> > <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" > testname="Thread Group" enabled="true"> > <elementProp name="ThreadGroup.main_controller" > elementType="LoopController" guiclass="LoopControlPanel" > testclass="LoopController" testname="Loop Controller" enabled="true"> > <boolProp name="LoopController.continue_forever">false</boolProp> > <stringProp name="LoopController.loops">1000</stringProp> > </elementProp> > <stringProp name="ThreadGroup.num_threads">10</stringProp> > <stringProp name="ThreadGroup.ramp_time">10</stringProp> > <longProp name="ThreadGroup.start_time">1273830807000</longProp> > <longProp name="ThreadGroup.end_time">1273830807000</longProp> > <boolProp name="ThreadGroup.scheduler">false</boolProp> > <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> > <stringProp name="ThreadGroup.duration"></stringProp> > <stringProp name="ThreadGroup.delay"></stringProp> > </ThreadGroup> > <hashTree> > <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" > testname="CSV Data Set Config" enabled="true"> > <stringProp name="filename">SimpleTestData.csv</stringProp> > <stringProp name="fileEncoding">UTF-8</stringProp> > <stringProp name="variableNames">Num,Keyword</stringProp> > <stringProp name="delimiter">,</stringProp> > <boolProp name="quotedData">true</boolProp> > <boolProp name="recycle">true</boolProp> > <boolProp name="stopThread">true</boolProp> > <stringProp name="shareMode">All threads</stringProp> > </CSVDataSet> > <hashTree/> > <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 name="action" elementType="HTTPArgument"> > <boolProp name="HTTPArgument.always_encode">false</boolProp> > <stringProp name="Argument.value">fullsearch</stringProp> > <stringProp name="Argument.metadata">=</stringProp> > <boolProp name="HTTPArgument.use_equals">true</boolProp> > <stringProp name="Argument.name">action</stringProp> > </elementProp> > <elementProp name="titlesearch" elementType="HTTPArgument"> > <boolProp name="HTTPArgument.always_encode">false</boolProp> > <stringProp name="Argument.value">1</stringProp> > <stringProp name="Argument.metadata">=</stringProp> > <boolProp name="HTTPArgument.use_equals">true</boolProp> > <stringProp name="Argument.name">titlesearch</stringProp> > </elementProp> > <elementProp name="value" elementType="HTTPArgument"> > <boolProp name="HTTPArgument.always_encode">false</boolProp> > <stringProp name="Argument.value">${Keyword}</stringProp> > <stringProp name="Argument.metadata">=</stringProp> > <boolProp name="HTTPArgument.use_equals">true</boolProp> > <stringProp name="Argument.name">value</stringProp> > </elementProp> > </collectionProp> > </elementProp> > <stringProp name="HTTPSampler.domain">wiki.apache.org > </stringProp> > <stringProp name="HTTPSampler.port">80</stringProp> > <stringProp name="HTTPSampler.connect_timeout"></stringProp> > <stringProp name="HTTPSampler.response_timeout"></stringProp> > <stringProp name="HTTPSampler.protocol">http</stringProp> > <stringProp name="HTTPSampler.contentEncoding"></stringProp> > <stringProp > name="HTTPSampler.path">/jakarta-jmeter/FindPage</stringProp> > <stringProp name="HTTPSampler.method">GET</stringProp> > <boolProp name="HTTPSampler.follow_redirects">false</boolProp> > <boolProp name="HTTPSampler.auto_redirects">true</boolProp> > <boolProp name="HTTPSampler.use_keepalive">true</boolProp> > <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> > <stringProp name="HTTPSampler.FILE_NAME"></stringProp> > <stringProp name="HTTPSampler.FILE_FIELD"></stringProp> > <stringProp name="HTTPSampler.mimetype"></stringProp> > <boolProp name="HTTPSampler.monitor">false</boolProp> > <stringProp name="HTTPSampler.embedded_url_re"></stringProp> > </HTTPSampler> > <hashTree/> > <ResultCollector guiclass="SummaryReport" > testclass="ResultCollector" testname="Summary Report" enabled="true"> > <boolProp name="ResultCollector.error_logging">false</boolProp> > <objProp> > <name>saveConfig</name> > <value class="SampleSaveConfiguration"> > <time>true</time> > <latency>true</latency> > <timestamp>true</timestamp> > <success>true</success> > <label>true</label> > <code>true</code> > <message>true</message> > <threadName>true</threadName> > <dataType>true</dataType> > <encoding>false</encoding> > <assertions>true</assertions> > <subresults>true</subresults> > <responseData>false</responseData> > <samplerData>false</samplerData> > <xml>true</xml> > <fieldNames>false</fieldNames> > <responseHeaders>false</responseHeaders> > <requestHeaders>false</requestHeaders> > <responseDataOnError>false</responseDataOnError> > > <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> > <assertionsResultsToSave>0</assertionsResultsToSave> > <bytes>true</bytes> > <url>true</url> > </value> > </objProp> > <stringProp > name="filename">reports/simple_summary.txt</stringProp> > </ResultCollector> > <hashTree/> > </hashTree> > </hashTree> > </hashTree> > </jmeterTestPlan> > > The CSV data file looks as below. > 1,solr > 2,lucene > 3,oracle > 4,performance lucene > > **************** CAUTION - Disclaimer ***************** > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended > solely > for the use of the addressee(s). If you are not the intended recipient, > please > notify the sender by e-mail and delete the original message. Further, you > are not > to copy, disclose, or distribute this e-mail or its contents to any other > person and > any such actions are unlawful. This e-mail may contain viruses. Infosys has > taken > every reasonable precaution to minimize this risk, but is not liable for > any damage > you may sustain as a result of any virus in this e-mail. You should carry > out your > own virus checks before opening the e-mail or attachment. Infosys reserves > the > right to monitor and review the content of all messages sent to or from > this e-mail > address. Messages sent to or from this e-mail address may be stored on the > Infosys e-mail system. > ***INFOSYS******** End of Disclaimer ********INFOSYS*** > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
|
hmmm...Try launching Jmeter with root privileges. Navigate to the install
directory and type in "sudo ./jmeter" or probably you can use the "sudo -u root" command and then try running the script. -Chaitanya M Bhatt On Tue, May 18, 2010 at 2:20 AM, Flik Shen <[hidden email]> wrote: > Hi Bhatt, > > Thanks for your suggestion. > The very simple http request could work perfect. > And I also have another DatabaseRequest for fetching data which is stuck by > same issue. > And CSV request work fine in my private Apple box in GUI. > So I wonder whether any special permissions should be granted to JMeter > then accessing to all required resources could be allowed. > > Thanks and best regards, > Flik > > On 5/18/10 4:04 PM, "chaitanya bhatt" <[hidden email]> wrote: > > If I were you I would start investigating if there are missing correlation > for session strings in the http and bean request samplers. > -Chaitanya M Bhatt > http://www.performancecomptence.com > On Tue, May 18, 2010 at 1:18 AM, Flik Shen <[hidden email]> wrote: > > > Hi, > > > > I ran the test plan SimpleCsvReq.jmx under shell on remote Apple box. > > The version of OS is Darwin 8.11.1. > > And version of JMeter is 2.3.4 with JDK 1.5.0_07-87 > > Following message is output and whole test stopped. > > kCGErrorRangeCheck : Window Server communications from outside of session > > allowed for root and console user only > > > > Please help me to identify the root cause of issue and solution for go > > around this issue. > > > > Thanks and best regards, > > Flik > > > > The source code of SimpleCsvReq is as below. > > <?xml version="1.0" encoding="UTF-8"?> > > <jmeterTestPlan version="1.2" properties="2.1"> > > <hashTree> > > <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test > > Plan" enabled="true"> > > <stringProp name="TestPlan.comments"></stringProp> > > <boolProp name="TestPlan.functional_mode">false</boolProp> > > <boolProp name="TestPlan.serialize_threadgroups">false</boolProp> > > <elementProp name="TestPlan.user_defined_variables" > > elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" > > testname="User Defined Variables" enabled="true"> > > <collectionProp name="Arguments.arguments"/> > > </elementProp> > > <stringProp name="TestPlan.user_define_classpath"></stringProp> > > </TestPlan> > > <hashTree> > > <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" > > testname="Thread Group" enabled="true"> > > <elementProp name="ThreadGroup.main_controller" > > elementType="LoopController" guiclass="LoopControlPanel" > > testclass="LoopController" testname="Loop Controller" enabled="true"> > > <boolProp > name="LoopController.continue_forever">false</boolProp> > > <stringProp name="LoopController.loops">1000</stringProp> > > </elementProp> > > <stringProp name="ThreadGroup.num_threads">10</stringProp> > > <stringProp name="ThreadGroup.ramp_time">10</stringProp> > > <longProp name="ThreadGroup.start_time">1273830807000</longProp> > > <longProp name="ThreadGroup.end_time">1273830807000</longProp> > > <boolProp name="ThreadGroup.scheduler">false</boolProp> > > <stringProp > name="ThreadGroup.on_sample_error">continue</stringProp> > > <stringProp name="ThreadGroup.duration"></stringProp> > > <stringProp name="ThreadGroup.delay"></stringProp> > > </ThreadGroup> > > <hashTree> > > <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" > > testname="CSV Data Set Config" enabled="true"> > > <stringProp name="filename">SimpleTestData.csv</stringProp> > > <stringProp name="fileEncoding">UTF-8</stringProp> > > <stringProp name="variableNames">Num,Keyword</stringProp> > > <stringProp name="delimiter">,</stringProp> > > <boolProp name="quotedData">true</boolProp> > > <boolProp name="recycle">true</boolProp> > > <boolProp name="stopThread">true</boolProp> > > <stringProp name="shareMode">All threads</stringProp> > > </CSVDataSet> > > <hashTree/> > > <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 name="action" elementType="HTTPArgument"> > > <boolProp > name="HTTPArgument.always_encode">false</boolProp> > > <stringProp name="Argument.value">fullsearch</stringProp> > > <stringProp name="Argument.metadata">=</stringProp> > > <boolProp name="HTTPArgument.use_equals">true</boolProp> > > <stringProp name="Argument.name">action</stringProp> > > </elementProp> > > <elementProp name="titlesearch" elementType="HTTPArgument"> > > <boolProp > name="HTTPArgument.always_encode">false</boolProp> > > <stringProp name="Argument.value">1</stringProp> > > <stringProp name="Argument.metadata">=</stringProp> > > <boolProp name="HTTPArgument.use_equals">true</boolProp> > > <stringProp name="Argument.name">titlesearch</stringProp> > > </elementProp> > > <elementProp name="value" elementType="HTTPArgument"> > > <boolProp > name="HTTPArgument.always_encode">false</boolProp> > > <stringProp name="Argument.value">${Keyword}</stringProp> > > <stringProp name="Argument.metadata">=</stringProp> > > <boolProp name="HTTPArgument.use_equals">true</boolProp> > > <stringProp name="Argument.name">value</stringProp> > > </elementProp> > > </collectionProp> > > </elementProp> > > <stringProp name="HTTPSampler.domain">wiki.apache.org > > </stringProp> > > <stringProp name="HTTPSampler.port">80</stringProp> > > <stringProp name="HTTPSampler.connect_timeout"></stringProp> > > <stringProp name="HTTPSampler.response_timeout"></stringProp> > > <stringProp name="HTTPSampler.protocol">http</stringProp> > > <stringProp name="HTTPSampler.contentEncoding"></stringProp> > > <stringProp > > name="HTTPSampler.path">/jakarta-jmeter/FindPage</stringProp> > > <stringProp name="HTTPSampler.method">GET</stringProp> > > <boolProp name="HTTPSampler.follow_redirects">false</boolProp> > > <boolProp name="HTTPSampler.auto_redirects">true</boolProp> > > <boolProp name="HTTPSampler.use_keepalive">true</boolProp> > > <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> > > <stringProp name="HTTPSampler.FILE_NAME"></stringProp> > > <stringProp name="HTTPSampler.FILE_FIELD"></stringProp> > > <stringProp name="HTTPSampler.mimetype"></stringProp> > > <boolProp name="HTTPSampler.monitor">false</boolProp> > > <stringProp name="HTTPSampler.embedded_url_re"></stringProp> > > </HTTPSampler> > > <hashTree/> > > <ResultCollector guiclass="SummaryReport" > > testclass="ResultCollector" testname="Summary Report" enabled="true"> > > <boolProp name="ResultCollector.error_logging">false</boolProp> > > <objProp> > > <name>saveConfig</name> > > <value class="SampleSaveConfiguration"> > > <time>true</time> > > <latency>true</latency> > > <timestamp>true</timestamp> > > <success>true</success> > > <label>true</label> > > <code>true</code> > > <message>true</message> > > <threadName>true</threadName> > > <dataType>true</dataType> > > <encoding>false</encoding> > > <assertions>true</assertions> > > <subresults>true</subresults> > > <responseData>false</responseData> > > <samplerData>false</samplerData> > > <xml>true</xml> > > <fieldNames>false</fieldNames> > > <responseHeaders>false</responseHeaders> > > <requestHeaders>false</requestHeaders> > > <responseDataOnError>false</responseDataOnError> > > > > > <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> > > <assertionsResultsToSave>0</assertionsResultsToSave> > > <bytes>true</bytes> > > <url>true</url> > > </value> > > </objProp> > > <stringProp > > name="filename">reports/simple_summary.txt</stringProp> > > </ResultCollector> > > <hashTree/> > > </hashTree> > > </hashTree> > > </hashTree> > > </jmeterTestPlan> > > > > The CSV data file looks as below. > > 1,solr > > 2,lucene > > 3,oracle > > 4,performance lucene > > > > **************** CAUTION - Disclaimer ***************** > > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended > > solely > > for the use of the addressee(s). If you are not the intended recipient, > > please > > notify the sender by e-mail and delete the original message. Further, you > > are not > > to copy, disclose, or distribute this e-mail or its contents to any other > > person and > > any such actions are unlawful. This e-mail may contain viruses. Infosys > has > > taken > > every reasonable precaution to minimize this risk, but is not liable for > > any damage > > you may sustain as a result of any virus in this e-mail. You should carry > > out your > > own virus checks before opening the e-mail or attachment. Infosys > reserves > > the > > right to monitor and review the content of all messages sent to or from > > this e-mail > > address. Messages sent to or from this e-mail address may be stored on > the > > Infosys e-mail system. > > ***INFOSYS******** End of Disclaimer ********INFOSYS*** > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > For additional commands, e-mail: [hidden email] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > |
|
In reply to this post by Flik Shen
Hi Friends,
Please tell me if this is possible in JMeter or not. I have a test plan like this: +Thread Group 1: ++Components + Thread Group 2 ++Components +Thread Group 3 ++ Components +Thread Group 4 ++Components +Thread Group 5 ++Components Each thread group has 100 unique users which will be picked from a separate CSV file per thread group. I want to start off the plan with only 20 users in each thread group, so that a total of 100 users are emulated, distributed evenly over the 5 use case thread groups. If the server is able to handle the load for 1 hour, I want to add 20 more users per TG, so that the total user count goes to 200. This way, I want to increase the users by 100 for each step, see if the server can handle the load for 1-2 hours, and if it can hold, increase it by another 100 users, until the server breaks. I have seen in LoadRunner that you can increase the users manually in between a test, and pause the ramp-up dynamically if required. Is this possible in JMeter? I tried the Stepping Thread Group, but it is limited in what it offers. ______________________________ Sudip Kumar Bhattacharya This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person. --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
|
Use infinite loop with the scheduler.
On the main configuration screen, there is also an option of runnning thread groups concurrently. E.g. we do the following: T.G. configuration: Loop count: infinite Ramp up time (period): 2 hours Threads: 600 Duration: 2 hours That would start a new thread every 12 seconds. You can play around with this to achieve the rampup you need. Regards, Brett twitter: @brettcave Blog: http://brett.cave.za.net On Tue, May 18, 2010 at 1:12 PM, Bhattacharya, Sudip < [hidden email]> wrote: > Hi Friends, > > Please tell me if this is possible in JMeter or not. > > I have a test plan like this: > +Thread Group 1: > ++Components > + Thread Group 2 > ++Components > +Thread Group 3 > ++ Components > +Thread Group 4 > ++Components > +Thread Group 5 > ++Components > > Each thread group has 100 unique users which will be picked from a separate > CSV file per thread group. > > I want to start off the plan with only 20 users in each thread group, so > that a total of 100 users are emulated, distributed evenly over the 5 use > case thread groups. > > If the server is able to handle the load for 1 hour, I want to add 20 more > users per TG, so that the total user count goes to 200. > > This way, I want to increase the users by 100 for each step, see if the > server can handle the load for 1-2 hours, and if it can hold, increase it by > another 100 users, until the server breaks. > > I have seen in LoadRunner that you can increase the users manually in > between a test, and pause the ramp-up dynamically if required. Is this > possible in JMeter? > > I tried the Stepping Thread Group, but it is limited in what it offers. > > ______________________________ > Sudip Kumar Bhattacharya > > This e-mail (and any attachments), is confidential and may be privileged. > It may be read, copied and used only > by intended recipients. Unauthorized access to this e-mail (or attachments) > and disclosure or copying of its > contents or any action taken in reliance on it is unlawful. Unintended > recipients must notify the sender immediately > by e-mail/phone & delete it from their system without making any copies or > disclosing it to a third person. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > |
|
In reply to this post by Bhattacharya, Sudip
Hi, Sudip!
How can I improve Stepping Thread Group to meet your requirements? С уважением, Андрей Похилько -----Original Message----- From: Bhattacharya, Sudip [mailto:[hidden email]] Sent: Tuesday, May 18, 2010 3:13 PM To: JMeter Users List Subject: How to achieve controlled ramp-up of users? Hi Friends, Please tell me if this is possible in JMeter or not. I have a test plan like this: +Thread Group 1: ++Components + Thread Group 2 ++Components +Thread Group 3 ++ Components +Thread Group 4 ++Components +Thread Group 5 ++Components Each thread group has 100 unique users which will be picked from a separate CSV file per thread group. I want to start off the plan with only 20 users in each thread group, so that a total of 100 users are emulated, distributed evenly over the 5 use case thread groups. If the server is able to handle the load for 1 hour, I want to add 20 more users per TG, so that the total user count goes to 200. This way, I want to increase the users by 100 for each step, see if the server can handle the load for 1-2 hours, and if it can hold, increase it by another 100 users, until the server breaks. I have seen in LoadRunner that you can increase the users manually in between a test, and pause the ramp-up dynamically if required. Is this possible in JMeter? I tried the Stepping Thread Group, but it is limited in what it offers. ______________________________ Sudip Kumar Bhattacharya This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person. --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
|
Hi Andrey, Thank you for offering your help. I am not sure how easy it is going to
be to change the Stepping Thread Group. But still am mentioning my idea of how
it can be augmented to add more flexibility. The Stepping Thread Group style that I tried is in the screenshot below. You will notice that the 100 user ramp-up is immediate at each step in
the image below. It ideally should be a slow ramp-up of each group, so that the
server is not overwhelmed at the sudden 100 user jump, and then allow some hold
period when the server is allowed to stabilize at that load. During this
stabilizing hold period we can see how the server behaves at that load. And
then the next set of users are added slowly for the next user load level. We continue this stepped rampup until the server breaks at a certain
threshold load level. I have added a few hours of stabilizing period after each ramp up, where
I will try and monitor the server behavior at that level. Instead of the single row ramp-up parameters, I would prefer something
like a grid entry mode, so that multiple lines can be added as required. -This group will start [500] threads: ----First wait for [15] seconds, --------Then, Start [100] threads, Ramping-up Over [600] seconds, Hold
load for [3600] seconds (at 100 users test for 1 hrs) --------Then, Start [100] threads, Ramping-up Over [900] seconds, Hold
Load for [7200] seconds (at 200 users test for 2 hrs) --------Then, Start [100] threads, Ramping-up Over [1200] seconds, Hold
Load for [7200] seconds (at 300 users test for 2 hrs) --------Then, Start [100] threads, Ramping-up Over [1500] seconds, Hold
Load for [10800] seconds (at 400 users test for 3 hrs) --------Then, Start [100] threads, Ramping-up Over [1800] seconds, Hold
Load for [14400] seconds….(at 500 users test for 4 hrs) --------<<ADD MORE ROWS BUTTON>>
-Finally, stop [10] threads every [20] seconds. So I am first adding 100 users over 10 mins, then observing the server
for 1 hour, then add another 100 users over 15 mins, then again observing the
server for 2 hours at the 200 user load, then adding another 100 users over 20
mins. Notice that the rampup time of subsequent steps is slower as the server
is under more user load at that point, so I am allowing for a slower load
increase mode. Also at higher load levels, we will require more stabilizing
time for the server. Regards, Sudip Kumar Bhattacharya -----Original Message----- Hi, Sudip! How can I improve Stepping Thread Group to meet your requirements? С уважением, Андрей Похилько -----Original Message----- From: Sent: Tuesday, May 18, 2010 3:13 PM To: Subject: How to achieve controlled ramp-up of users? Hi Friends, Please tell me if this is possible in JMeter or not. I have a test plan like this: +Thread Group 1: ++Components + Thread Group 2 ++Components +Thread Group 3 ++ Components +Thread Group 4 ++Components +Thread Group 5 ++Components Each thread group has 100 unique users which will be picked from a
separate CSV file per thread group. I want to start off the plan with only 20 users in each thread group, so that a total of 100 users are emulated, distributed evenly over the 5
use case thread groups. If the server is able to handle the load for 1 hour, I want to add 20
more users per TG, so that the total user count goes to 200. This way, I want to increase the users by 100 for each step, see if the server can handle the load for 1-2 hours, and if it can hold, increase
it by another 100 users, until the server breaks. I have seen in LoadRunner that you can increase the users manually
in between a test, and pause the ramp-up dynamically if required. Is this possible in JMeter? I tried the Stepping Thread Group, but it is limited in what it offers. ______________________________ Sudip Kumar Bhattacharya This e-mail (and any attachments), is confidential and may be
privileged. It may be read, copied and used only by intended recipients. Unauthorized access to this e-mail (or
attachments) and disclosure or copying of its contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately by e-mail/phone & delete it from their system without making any copies
or disclosing it to a third person. --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person. |
|
In reply to this post by chaitanya bhatt
Hi,
I have already put everything under my home directory. For example, Jmeter whole application folder, Test case files and CSV data files. However it still does not work. Could someone clarify me what kinds of privileges are required indeed? Since our server have very strict privilege management, I am provide detail enough to apply root permission. Thanks and best regards, Flik On 5/18/10 5:34 PM, "chaitanya bhatt" <[hidden email]> wrote: hmmm...Try launching Jmeter with root privileges. Navigate to the install directory and type in "sudo ./jmeter" or probably you can use the "sudo -u root" command and then try running the script. -Chaitanya M Bhatt On Tue, May 18, 2010 at 2:20 AM, Flik Shen <[hidden email]> wrote: > Hi Bhatt, > > Thanks for your suggestion. > The very simple http request could work perfect. > And I also have another DatabaseRequest for fetching data which is stuck by > same issue. > And CSV request work fine in my private Apple box in GUI. > So I wonder whether any special permissions should be granted to JMeter > then accessing to all required resources could be allowed. > > Thanks and best regards, > Flik > > On 5/18/10 4:04 PM, "chaitanya bhatt" <[hidden email]> wrote: > > If I were you I would start investigating if there are missing correlation > for session strings in the http and bean request samplers. > -Chaitanya M Bhatt > http://www.performancecomptence.com > On Tue, May 18, 2010 at 1:18 AM, Flik Shen <[hidden email]> wrote: > > > Hi, > > > > I ran the test plan SimpleCsvReq.jmx under shell on remote Apple box. > > The version of OS is Darwin 8.11.1. > > And version of JMeter is 2.3.4 with JDK 1.5.0_07-87 > > Following message is output and whole test stopped. > > kCGErrorRangeCheck : Window Server communications from outside of session > > allowed for root and console user only > > > > Please help me to identify the root cause of issue and solution for go > > around this issue. > > > > Thanks and best regards, > > Flik > > > > The source code of SimpleCsvReq is as below. > > <?xml version="1.0" encoding="UTF-8"?> > > <jmeterTestPlan version="1.2" properties="2.1"> > > <hashTree> > > <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test > > Plan" enabled="true"> > > <stringProp name="TestPlan.comments"></stringProp> > > <boolProp name="TestPlan.functional_mode">false</boolProp> > > <boolProp name="TestPlan.serialize_threadgroups">false</boolProp> > > <elementProp name="TestPlan.user_defined_variables" > > elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" > > testname="User Defined Variables" enabled="true"> > > <collectionProp name="Arguments.arguments"/> > > </elementProp> > > <stringProp name="TestPlan.user_define_classpath"></stringProp> > > </TestPlan> > > <hashTree> > > <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" > > testname="Thread Group" enabled="true"> > > <elementProp name="ThreadGroup.main_controller" > > elementType="LoopController" guiclass="LoopControlPanel" > > testclass="LoopController" testname="Loop Controller" enabled="true"> > > <boolProp > name="LoopController.continue_forever">false</boolProp> > > <stringProp name="LoopController.loops">1000</stringProp> > > </elementProp> > > <stringProp name="ThreadGroup.num_threads">10</stringProp> > > <stringProp name="ThreadGroup.ramp_time">10</stringProp> > > <longProp name="ThreadGroup.start_time">1273830807000</longProp> > > <longProp name="ThreadGroup.end_time">1273830807000</longProp> > > <boolProp name="ThreadGroup.scheduler">false</boolProp> > > <stringProp > name="ThreadGroup.on_sample_error">continue</stringProp> > > <stringProp name="ThreadGroup.duration"></stringProp> > > <stringProp name="ThreadGroup.delay"></stringProp> > > </ThreadGroup> > > <hashTree> > > <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" > > testname="CSV Data Set Config" enabled="true"> > > <stringProp name="filename">SimpleTestData.csv</stringProp> > > <stringProp name="fileEncoding">UTF-8</stringProp> > > <stringProp name="variableNames">Num,Keyword</stringProp> > > <stringProp name="delimiter">,</stringProp> > > <boolProp name="quotedData">true</boolProp> > > <boolProp name="recycle">true</boolProp> > > <boolProp name="stopThread">true</boolProp> > > <stringProp name="shareMode">All threads</stringProp> > > </CSVDataSet> > > <hashTree/> > > <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 name="action" elementType="HTTPArgument"> > > <boolProp > name="HTTPArgument.always_encode">false</boolProp> > > <stringProp name="Argument.value">fullsearch</stringProp> > > <stringProp name="Argument.metadata">=</stringProp> > > <boolProp name="HTTPArgument.use_equals">true</boolProp> > > <stringProp name="Argument.name">action</stringProp> > > </elementProp> > > <elementProp name="titlesearch" elementType="HTTPArgument"> > > <boolProp > name="HTTPArgument.always_encode">false</boolProp> > > <stringProp name="Argument.value">1</stringProp> > > <stringProp name="Argument.metadata">=</stringProp> > > <boolProp name="HTTPArgument.use_equals">true</boolProp> > > <stringProp name="Argument.name">titlesearch</stringProp> > > </elementProp> > > <elementProp name="value" elementType="HTTPArgument"> > > <boolProp > name="HTTPArgument.always_encode">false</boolProp> > > <stringProp name="Argument.value">${Keyword}</stringProp> > > <stringProp name="Argument.metadata">=</stringProp> > > <boolProp name="HTTPArgument.use_equals">true</boolProp> > > <stringProp name="Argument.name">value</stringProp> > > </elementProp> > > </collectionProp> > > </elementProp> > > <stringProp name="HTTPSampler.domain">wiki.apache.org > > </stringProp> > > <stringProp name="HTTPSampler.port">80</stringProp> > > <stringProp name="HTTPSampler.connect_timeout"></stringProp> > > <stringProp name="HTTPSampler.response_timeout"></stringProp> > > <stringProp name="HTTPSampler.protocol">http</stringProp> > > <stringProp name="HTTPSampler.contentEncoding"></stringProp> > > <stringProp > > name="HTTPSampler.path">/jakarta-jmeter/FindPage</stringProp> > > <stringProp name="HTTPSampler.method">GET</stringProp> > > <boolProp name="HTTPSampler.follow_redirects">false</boolProp> > > <boolProp name="HTTPSampler.auto_redirects">true</boolProp> > > <boolProp name="HTTPSampler.use_keepalive">true</boolProp> > > <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> > > <stringProp name="HTTPSampler.FILE_NAME"></stringProp> > > <stringProp name="HTTPSampler.FILE_FIELD"></stringProp> > > <stringProp name="HTTPSampler.mimetype"></stringProp> > > <boolProp name="HTTPSampler.monitor">false</boolProp> > > <stringProp name="HTTPSampler.embedded_url_re"></stringProp> > > </HTTPSampler> > > <hashTree/> > > <ResultCollector guiclass="SummaryReport" > > testclass="ResultCollector" testname="Summary Report" enabled="true"> > > <boolProp name="ResultCollector.error_logging">false</boolProp> > > <objProp> > > <name>saveConfig</name> > > <value class="SampleSaveConfiguration"> > > <time>true</time> > > <latency>true</latency> > > <timestamp>true</timestamp> > > <success>true</success> > > <label>true</label> > > <code>true</code> > > <message>true</message> > > <threadName>true</threadName> > > <dataType>true</dataType> > > <encoding>false</encoding> > > <assertions>true</assertions> > > <subresults>true</subresults> > > <responseData>false</responseData> > > <samplerData>false</samplerData> > > <xml>true</xml> > > <fieldNames>false</fieldNames> > > <responseHeaders>false</responseHeaders> > > <requestHeaders>false</requestHeaders> > > <responseDataOnError>false</responseDataOnError> > > > > > <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> > > <assertionsResultsToSave>0</assertionsResultsToSave> > > <bytes>true</bytes> > > <url>true</url> > > </value> > > </objProp> > > <stringProp > > name="filename">reports/simple_summary.txt</stringProp> > > </ResultCollector> > > <hashTree/> > > </hashTree> > > </hashTree> > > </hashTree> > > </jmeterTestPlan> > > > > The CSV data file looks as below. > > 1,solr > > 2,lucene > > 3,oracle > > 4,performance lucene > > > > **************** CAUTION - Disclaimer ***************** > > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended > > solely > > for the use of the addressee(s). If you are not the intended recipient, > > please > > notify the sender by e-mail and delete the original message. Further, you > > are not > > to copy, disclose, or distribute this e-mail or its contents to any other > > person and > > any such actions are unlawful. This e-mail may contain viruses. Infosys > has > > taken > > every reasonable precaution to minimize this risk, but is not liable for > > any damage > > you may sustain as a result of any virus in this e-mail. You should carry > > out your > > own virus checks before opening the e-mail or attachment. Infosys > reserves > > the > > right to monitor and review the content of all messages sent to or from > > this e-mail > > address. Messages sent to or from this e-mail address may be stored on > the > > Infosys e-mail system. > > ***INFOSYS******** End of Disclaimer ********INFOSYS*** > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > For additional commands, e-mail: [hidden email] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
|
Can you run any JMeter tests on that system?
The error message "kCGErrorRangeCheck : Window Server ..." is not a JMeter error message. Have you tried googling for the message? I expect you will get a few hits ... On 20/05/2010, Flik Shen <[hidden email]> wrote: > Hi, > > I have already put everything under my home directory. > For example, Jmeter whole application folder, Test case files and CSV data files. > However it still does not work. > > Could someone clarify me what kinds of privileges are required indeed? > Since our server have very strict privilege management, I am provide detail enough to apply root permission. > > > Thanks and best regards, > Flik > > > On 5/18/10 5:34 PM, "chaitanya bhatt" <[hidden email]> wrote: > > hmmm...Try launching Jmeter with root privileges. Navigate to the install > directory and type in "sudo ./jmeter" or probably you can use the "sudo > -u root" command and then try running the script. > > -Chaitanya M Bhatt > > On Tue, May 18, 2010 at 2:20 AM, Flik Shen <[hidden email]> wrote: > > > Hi Bhatt, > > > > Thanks for your suggestion. > > The very simple http request could work perfect. > > And I also have another DatabaseRequest for fetching data which is stuck by > > same issue. > > And CSV request work fine in my private Apple box in GUI. > > So I wonder whether any special permissions should be granted to JMeter > > then accessing to all required resources could be allowed. > > > > Thanks and best regards, > > Flik > > > > On 5/18/10 4:04 PM, "chaitanya bhatt" <[hidden email]> wrote: > > > > If I were you I would start investigating if there are missing correlation > > for session strings in the http and bean request samplers. > > -Chaitanya M Bhatt > > http://www.performancecomptence.com > > On Tue, May 18, 2010 at 1:18 AM, Flik Shen <[hidden email]> wrote: > > > > > Hi, > > > > > > I ran the test plan SimpleCsvReq.jmx under shell on remote Apple box. > > > The version of OS is Darwin 8.11.1. > > > And version of JMeter is 2.3.4 with JDK 1.5.0_07-87 > > > Following message is output and whole test stopped. > > > kCGErrorRangeCheck : Window Server communications from outside of session > > > allowed for root and console user only > > > > > > Please help me to identify the root cause of issue and solution for go > > > around this issue. > > > > > > Thanks and best regards, > > > Flik > > > > > > The source code of SimpleCsvReq is as below. > > > <?xml version="1.0" encoding="UTF-8"?> > > > <jmeterTestPlan version="1.2" properties="2.1"> > > > <hashTree> > > > <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test > > > Plan" enabled="true"> > > > <stringProp name="TestPlan.comments"></stringProp> > > > <boolProp name="TestPlan.functional_mode">false</boolProp> > > > <boolProp name="TestPlan.serialize_threadgroups">false</boolProp> > > > <elementProp name="TestPlan.user_defined_variables" > > > elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" > > > testname="User Defined Variables" enabled="true"> > > > <collectionProp name="Arguments.arguments"/> > > > </elementProp> > > > <stringProp name="TestPlan.user_define_classpath"></stringProp> > > > </TestPlan> > > > <hashTree> > > > <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" > > > testname="Thread Group" enabled="true"> > > > <elementProp name="ThreadGroup.main_controller" > > > elementType="LoopController" guiclass="LoopControlPanel" > > > testclass="LoopController" testname="Loop Controller" enabled="true"> > > > <boolProp > > name="LoopController.continue_forever">false</boolProp> > > > <stringProp name="LoopController.loops">1000</stringProp> > > > </elementProp> > > > <stringProp name="ThreadGroup.num_threads">10</stringProp> > > > <stringProp name="ThreadGroup.ramp_time">10</stringProp> > > > <longProp name="ThreadGroup.start_time">1273830807000</longProp> > > > <longProp name="ThreadGroup.end_time">1273830807000</longProp> > > > <boolProp name="ThreadGroup.scheduler">false</boolProp> > > > <stringProp > > name="ThreadGroup.on_sample_error">continue</stringProp> > > > <stringProp name="ThreadGroup.duration"></stringProp> > > > <stringProp name="ThreadGroup.delay"></stringProp> > > > </ThreadGroup> > > > <hashTree> > > > <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" > > > testname="CSV Data Set Config" enabled="true"> > > > <stringProp name="filename">SimpleTestData.csv</stringProp> > > > <stringProp name="fileEncoding">UTF-8</stringProp> > > > <stringProp name="variableNames">Num,Keyword</stringProp> > > > <stringProp name="delimiter">,</stringProp> > > > <boolProp name="quotedData">true</boolProp> > > > <boolProp name="recycle">true</boolProp> > > > <boolProp name="stopThread">true</boolProp> > > > <stringProp name="shareMode">All threads</stringProp> > > > </CSVDataSet> > > > <hashTree/> > > > <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 name="action" elementType="HTTPArgument"> > > > <boolProp > > name="HTTPArgument.always_encode">false</boolProp> > > > <stringProp name="Argument.value">fullsearch</stringProp> > > > <stringProp name="Argument.metadata">=</stringProp> > > > <boolProp name="HTTPArgument.use_equals">true</boolProp> > > > <stringProp name="Argument.name">action</stringProp> > > > </elementProp> > > > <elementProp name="titlesearch" elementType="HTTPArgument"> > > > <boolProp > > name="HTTPArgument.always_encode">false</boolProp> > > > <stringProp name="Argument.value">1</stringProp> > > > <stringProp name="Argument.metadata">=</stringProp> > > > <boolProp name="HTTPArgument.use_equals">true</boolProp> > > > <stringProp name="Argument.name">titlesearch</stringProp> > > > </elementProp> > > > <elementProp name="value" elementType="HTTPArgument"> > > > <boolProp > > name="HTTPArgument.always_encode">false</boolProp> > > > <stringProp name="Argument.value">${Keyword}</stringProp> > > > <stringProp name="Argument.metadata">=</stringProp> > > > <boolProp name="HTTPArgument.use_equals">true</boolProp> > > > <stringProp name="Argument.name">value</stringProp> > > > </elementProp> > > > </collectionProp> > > > </elementProp> > > > <stringProp name="HTTPSampler.domain">wiki.apache.org > > > </stringProp> > > > <stringProp name="HTTPSampler.port">80</stringProp> > > > <stringProp name="HTTPSampler.connect_timeout"></stringProp> > > > <stringProp name="HTTPSampler.response_timeout"></stringProp> > > > <stringProp name="HTTPSampler.protocol">http</stringProp> > > > <stringProp name="HTTPSampler.contentEncoding"></stringProp> > > > <stringProp > > > name="HTTPSampler.path">/jakarta-jmeter/FindPage</stringProp> > > > <stringProp name="HTTPSampler.method">GET</stringProp> > > > <boolProp name="HTTPSampler.follow_redirects">false</boolProp> > > > <boolProp name="HTTPSampler.auto_redirects">true</boolProp> > > > <boolProp name="HTTPSampler.use_keepalive">true</boolProp> > > > <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> > > > <stringProp name="HTTPSampler.FILE_NAME"></stringProp> > > > <stringProp name="HTTPSampler.FILE_FIELD"></stringProp> > > > <stringProp name="HTTPSampler.mimetype"></stringProp> > > > <boolProp name="HTTPSampler.monitor">false</boolProp> > > > <stringProp name="HTTPSampler.embedded_url_re"></stringProp> > > > </HTTPSampler> > > > <hashTree/> > > > <ResultCollector guiclass="SummaryReport" > > > testclass="ResultCollector" testname="Summary Report" enabled="true"> > > > <boolProp name="ResultCollector.error_logging">false</boolProp> > > > <objProp> > > > <name>saveConfig</name> > > > <value class="SampleSaveConfiguration"> > > > <time>true</time> > > > <latency>true</latency> > > > <timestamp>true</timestamp> > > > <success>true</success> > > > <label>true</label> > > > <code>true</code> > > > <message>true</message> > > > <threadName>true</threadName> > > > <dataType>true</dataType> > > > <encoding>false</encoding> > > > <assertions>true</assertions> > > > <subresults>true</subresults> > > > <responseData>false</responseData> > > > <samplerData>false</samplerData> > > > <xml>true</xml> > > > <fieldNames>false</fieldNames> > > > <responseHeaders>false</responseHeaders> > > > <requestHeaders>false</requestHeaders> > > > <responseDataOnError>false</responseDataOnError> > > > > > > > > <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> > > > <assertionsResultsToSave>0</assertionsResultsToSave> > > > <bytes>true</bytes> > > > <url>true</url> > > > </value> > > > </objProp> > > > <stringProp > > > name="filename">reports/simple_summary.txt</stringProp> > > > </ResultCollector> > > > <hashTree/> > > > </hashTree> > > > </hashTree> > > > </hashTree> > > > </jmeterTestPlan> > > > > > > The CSV data file looks as below. > > > 1,solr > > > 2,lucene > > > 3,oracle > > > 4,performance lucene > > > > > > **************** CAUTION - Disclaimer ***************** > > > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended > > > solely > > > for the use of the addressee(s). If you are not the intended recipient, > > > please > > > notify the sender by e-mail and delete the original message. Further, you > > > are not > > > to copy, disclose, or distribute this e-mail or its contents to any other > > > person and > > > any such actions are unlawful. This e-mail may contain viruses. Infosys > > has > > > taken > > > every reasonable precaution to minimize this risk, but is not liable for > > > any damage > > > you may sustain as a result of any virus in this e-mail. You should carry > > > out your > > > own virus checks before opening the e-mail or attachment. Infosys > > reserves > > > the > > > right to monitor and review the content of all messages sent to or from > > > this e-mail > > > address. Messages sent to or from this e-mail address may be stored on > > the > > > Infosys e-mail system. > > > ***INFOSYS******** End of Disclaimer ********INFOSYS*** > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [hidden email] > > > For additional commands, e-mail: [hidden email] > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > For additional commands, e-mail: [hidden email] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
|
I could run very simple test, like HTTP request as below on that system.
And Google has few hits and I could ask the JMeter users group for more support. Thanks and best regards, Flik <?xml version="1.0" encoding="UTF-8"?> <jmeterTestPlan version="1.2" properties="2.1"> <hashTree> <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true"> <stringProp name="TestPlan.comments"></stringProp> <boolProp name="TestPlan.functional_mode">false</boolProp> <boolProp name="TestPlan.serialize_threadgroups">false</boolProp> <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="TestPlan.user_define_classpath"></stringProp> </TestPlan> <hashTree> <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true"> <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> <boolProp name="LoopController.continue_forever">false</boolProp> <stringProp name="LoopController.loops">1</stringProp> </elementProp> <stringProp name="ThreadGroup.num_threads">1</stringProp> <stringProp name="ThreadGroup.ramp_time">1</stringProp> <longProp name="ThreadGroup.start_time">1273806723000</longProp> <longProp name="ThreadGroup.end_time">1273806723000</longProp> <boolProp name="ThreadGroup.scheduler">false</boolProp> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> <stringProp name="ThreadGroup.duration"></stringProp> <stringProp name="ThreadGroup.delay"></stringProp> </ThreadGroup> <hashTree> <ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults" enabled="true"> <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="HTTPSampler.domain">jakarta.apache.org</stringProp> <stringProp name="HTTPSampler.port">80</stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> <stringProp name="HTTPSampler.protocol"></stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.path"></stringProp> </ConfigTestElement> <hashTree/> <HTTPSampler guiclass="HttpTestSampleGui" testclass="HTTPSampler" testname="Home Page" enabled="true"> <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="HTTPSampler.domain"></stringProp> <stringProp name="HTTPSampler.port"></stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> <stringProp name="HTTPSampler.protocol"></stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.path"></stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">false</boolProp> <boolProp name="HTTPSampler.auto_redirects">true</boolProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> <stringProp name="HTTPSampler.FILE_NAME"></stringProp> <stringProp name="HTTPSampler.FILE_FIELD"></stringProp> <stringProp name="HTTPSampler.mimetype"></stringProp> <boolProp name="HTTPSampler.monitor">false</boolProp> <stringProp name="HTTPSampler.embedded_url_re"></stringProp> </HTTPSampler> <hashTree/> <HTTPSampler guiclass="HttpTestSampleGui" testclass="HTTPSampler" testname="Project Guideline" enabled="true"> <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="HTTPSampler.domain"></stringProp> <stringProp name="HTTPSampler.port"></stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> <stringProp name="HTTPSampler.protocol"></stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.path">/site/guidelines.html</stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">false</boolProp> <boolProp name="HTTPSampler.auto_redirects">true</boolProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> <stringProp name="HTTPSampler.FILE_NAME"></stringProp> <stringProp name="HTTPSampler.FILE_FIELD"></stringProp> <stringProp name="HTTPSampler.mimetype"></stringProp> <boolProp name="HTTPSampler.monitor">false</boolProp> <stringProp name="HTTPSampler.embedded_url_re"></stringProp> </HTTPSampler> <hashTree/> <ResultCollector guiclass="GraphVisualizer" testclass="ResultCollector" testname="Grahp Visualizer" enabled="true"> <boolProp name="ResultCollector.error_logging">false</boolProp> <objProp> <name>saveConfig</name> <value class="SampleSaveConfiguration"> <time>true</time> <latency>true</latency> <timestamp>true</timestamp> <success>true</success> <label>true</label> <code>true</code> <message>true</message> <threadName>true</threadName> <dataType>true</dataType> <encoding>false</encoding> <assertions>true</assertions> <subresults>true</subresults> <responseData>false</responseData> <samplerData>false</samplerData> <xml>true</xml> <fieldNames>false</fieldNames> <responseHeaders>false</responseHeaders> <requestHeaders>false</requestHeaders> <responseDataOnError>false</responseDataOnError> <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> <assertionsResultsToSave>0</assertionsResultsToSave> <bytes>true</bytes> </value> </objProp> <stringProp name="filename"></stringProp> </ResultCollector> <hashTree/> </hashTree> </hashTree> </hashTree> </jmeterTestPlan> On 5/21/10 7:18 AM, "sebb" <[hidden email]> wrote: Can you run any JMeter tests on that system? The error message "kCGErrorRangeCheck : Window Server ..." is not a JMeter error message. Have you tried googling for the message? I expect you will get a few hits ... On 20/05/2010, Flik Shen <[hidden email]> wrote: > Hi, > > I have already put everything under my home directory. > For example, Jmeter whole application folder, Test case files and CSV data files. > However it still does not work. > > Could someone clarify me what kinds of privileges are required indeed? > Since our server have very strict privilege management, I am provide detail enough to apply root permission. > > > Thanks and best regards, > Flik > > > On 5/18/10 5:34 PM, "chaitanya bhatt" <[hidden email]> wrote: > > hmmm...Try launching Jmeter with root privileges. Navigate to the install > directory and type in "sudo ./jmeter" or probably you can use the "sudo > -u root" command and then try running the script. > > -Chaitanya M Bhatt > > On Tue, May 18, 2010 at 2:20 AM, Flik Shen <[hidden email]> wrote: > > > Hi Bhatt, > > > > Thanks for your suggestion. > > The very simple http request could work perfect. > > And I also have another DatabaseRequest for fetching data which is stuck by > > same issue. > > And CSV request work fine in my private Apple box in GUI. > > So I wonder whether any special permissions should be granted to JMeter > > then accessing to all required resources could be allowed. > > > > Thanks and best regards, > > Flik > > > > On 5/18/10 4:04 PM, "chaitanya bhatt" <[hidden email]> wrote: > > > > If I were you I would start investigating if there are missing correlation > > for session strings in the http and bean request samplers. > > -Chaitanya M Bhatt > > http://www.performancecomptence.com > > On Tue, May 18, 2010 at 1:18 AM, Flik Shen <[hidden email]> wrote: > > > > > Hi, > > > > > > I ran the test plan SimpleCsvReq.jmx under shell on remote Apple box. > > > The version of OS is Darwin 8.11.1. > > > And version of JMeter is 2.3.4 with JDK 1.5.0_07-87 > > > Following message is output and whole test stopped. > > > kCGErrorRangeCheck : Window Server communications from outside of session > > > allowed for root and console user only > > > > > > Please help me to identify the root cause of issue and solution for go > > > around this issue. > > > > > > Thanks and best regards, > > > Flik > > > > > > The source code of SimpleCsvReq is as below. > > > <?xml version="1.0" encoding="UTF-8"?> > > > <jmeterTestPlan version="1.2" properties="2.1"> > > > <hashTree> > > > <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test > > > Plan" enabled="true"> > > > <stringProp name="TestPlan.comments"></stringProp> > > > <boolProp name="TestPlan.functional_mode">false</boolProp> > > > <boolProp name="TestPlan.serialize_threadgroups">false</boolProp> > > > <elementProp name="TestPlan.user_defined_variables" > > > elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" > > > testname="User Defined Variables" enabled="true"> > > > <collectionProp name="Arguments.arguments"/> > > > </elementProp> > > > <stringProp name="TestPlan.user_define_classpath"></stringProp> > > > </TestPlan> > > > <hashTree> > > > <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" > > > testname="Thread Group" enabled="true"> > > > <elementProp name="ThreadGroup.main_controller" > > > elementType="LoopController" guiclass="LoopControlPanel" > > > testclass="LoopController" testname="Loop Controller" enabled="true"> > > > <boolProp > > name="LoopController.continue_forever">false</boolProp> > > > <stringProp name="LoopController.loops">1000</stringProp> > > > </elementProp> > > > <stringProp name="ThreadGroup.num_threads">10</stringProp> > > > <stringProp name="ThreadGroup.ramp_time">10</stringProp> > > > <longProp name="ThreadGroup.start_time">1273830807000</longProp> > > > <longProp name="ThreadGroup.end_time">1273830807000</longProp> > > > <boolProp name="ThreadGroup.scheduler">false</boolProp> > > > <stringProp > > name="ThreadGroup.on_sample_error">continue</stringProp> > > > <stringProp name="ThreadGroup.duration"></stringProp> > > > <stringProp name="ThreadGroup.delay"></stringProp> > > > </ThreadGroup> > > > <hashTree> > > > <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" > > > testname="CSV Data Set Config" enabled="true"> > > > <stringProp name="filename">SimpleTestData.csv</stringProp> > > > <stringProp name="fileEncoding">UTF-8</stringProp> > > > <stringProp name="variableNames">Num,Keyword</stringProp> > > > <stringProp name="delimiter">,</stringProp> > > > <boolProp name="quotedData">true</boolProp> > > > <boolProp name="recycle">true</boolProp> > > > <boolProp name="stopThread">true</boolProp> > > > <stringProp name="shareMode">All threads</stringProp> > > > </CSVDataSet> > > > <hashTree/> > > > <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 name="action" elementType="HTTPArgument"> > > > <boolProp > > name="HTTPArgument.always_encode">false</boolProp> > > > <stringProp name="Argument.value">fullsearch</stringProp> > > > <stringProp name="Argument.metadata">=</stringProp> > > > <boolProp name="HTTPArgument.use_equals">true</boolProp> > > > <stringProp name="Argument.name">action</stringProp> > > > </elementProp> > > > <elementProp name="titlesearch" elementType="HTTPArgument"> > > > <boolProp > > name="HTTPArgument.always_encode">false</boolProp> > > > <stringProp name="Argument.value">1</stringProp> > > > <stringProp name="Argument.metadata">=</stringProp> > > > <boolProp name="HTTPArgument.use_equals">true</boolProp> > > > <stringProp name="Argument.name">titlesearch</stringProp> > > > </elementProp> > > > <elementProp name="value" elementType="HTTPArgument"> > > > <boolProp > > name="HTTPArgument.always_encode">false</boolProp> > > > <stringProp name="Argument.value">${Keyword}</stringProp> > > > <stringProp name="Argument.metadata">=</stringProp> > > > <boolProp name="HTTPArgument.use_equals">true</boolProp> > > > <stringProp name="Argument.name">value</stringProp> > > > </elementProp> > > > </collectionProp> > > > </elementProp> > > > <stringProp name="HTTPSampler.domain">wiki.apache.org > > > </stringProp> > > > <stringProp name="HTTPSampler.port">80</stringProp> > > > <stringProp name="HTTPSampler.connect_timeout"></stringProp> > > > <stringProp name="HTTPSampler.response_timeout"></stringProp> > > > <stringProp name="HTTPSampler.protocol">http</stringProp> > > > <stringProp name="HTTPSampler.contentEncoding"></stringProp> > > > <stringProp > > > name="HTTPSampler.path">/jakarta-jmeter/FindPage</stringProp> > > > <stringProp name="HTTPSampler.method">GET</stringProp> > > > <boolProp name="HTTPSampler.follow_redirects">false</boolProp> > > > <boolProp name="HTTPSampler.auto_redirects">true</boolProp> > > > <boolProp name="HTTPSampler.use_keepalive">true</boolProp> > > > <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> > > > <stringProp name="HTTPSampler.FILE_NAME"></stringProp> > > > <stringProp name="HTTPSampler.FILE_FIELD"></stringProp> > > > <stringProp name="HTTPSampler.mimetype"></stringProp> > > > <boolProp name="HTTPSampler.monitor">false</boolProp> > > > <stringProp name="HTTPSampler.embedded_url_re"></stringProp> > > > </HTTPSampler> > > > <hashTree/> > > > <ResultCollector guiclass="SummaryReport" > > > testclass="ResultCollector" testname="Summary Report" enabled="true"> > > > <boolProp name="ResultCollector.error_logging">false</boolProp> > > > <objProp> > > > <name>saveConfig</name> > > > <value class="SampleSaveConfiguration"> > > > <time>true</time> > > > <latency>true</latency> > > > <timestamp>true</timestamp> > > > <success>true</success> > > > <label>true</label> > > > <code>true</code> > > > <message>true</message> > > > <threadName>true</threadName> > > > <dataType>true</dataType> > > > <encoding>false</encoding> > > > <assertions>true</assertions> > > > <subresults>true</subresults> > > > <responseData>false</responseData> > > > <samplerData>false</samplerData> > > > <xml>true</xml> > > > <fieldNames>false</fieldNames> > > > <responseHeaders>false</responseHeaders> > > > <requestHeaders>false</requestHeaders> > > > <responseDataOnError>false</responseDataOnError> > > > > > > > > <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> > > > <assertionsResultsToSave>0</assertionsResultsToSave> > > > <bytes>true</bytes> > > > <url>true</url> > > > </value> > > > </objProp> > > > <stringProp > > > name="filename">reports/simple_summary.txt</stringProp> > > > </ResultCollector> > > > <hashTree/> > > > </hashTree> > > > </hashTree> > > > </hashTree> > > > </jmeterTestPlan> > > > > > > The CSV data file looks as below. > > > 1,solr > > > 2,lucene > > > 3,oracle > > > 4,performance lucene > > > > > > **************** CAUTION - Disclaimer ***************** > > > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended > > > solely > > > for the use of the addressee(s). If you are not the intended recipient, > > > please > > > notify the sender by e-mail and delete the original message. Further, you > > > are not > > > to copy, disclose, or distribute this e-mail or its contents to any other > > > person and > > > any such actions are unlawful. This e-mail may contain viruses. Infosys > > has > > > taken > > > every reasonable precaution to minimize this risk, but is not liable for > > > any damage > > > you may sustain as a result of any virus in this e-mail. You should carry > > > out your > > > own virus checks before opening the e-mail or attachment. Infosys > > reserves > > > the > > > right to monitor and review the content of all messages sent to or from > > > this e-mail > > > address. Messages sent to or from this e-mail address may be stored on > > the > > > Infosys e-mail system. > > > ***INFOSYS******** End of Disclaimer ********INFOSYS*** > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [hidden email] > > > For additional commands, e-mail: [hidden email] > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > For additional commands, e-mail: [hidden email] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
| Powered by Nabble | Edit this page |
