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 <[email protected]> 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" <[email protected]> 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 <[email protected]> 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" <[email protected]> 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 <[email protected]> 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: [email protected] > > > For additional commands, e-mail: [email protected] > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

