Created
August 16, 2011 21:35
-
-
Save tlipski/1150230 to your computer and use it in GitHub Desktop.
Mule performance tests config files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- START SNIPPET: example --> | |
| <beans | |
| xmlns="http://www.springframework.org/schema/beans" | |
| xmlns:amq="http://activemq.apache.org/schema/core" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://www.springframework.org/schema/beans | |
| http://www.springframework.org/schema/beans/spring-beans-2.0.xsd | |
| http://activemq.apache.org/schema/core | |
| http://activemq.apache.org/schema/core/activemq-core.xsd"> | |
| <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> | |
| <property name="locations"> | |
| <value>file:${activemq.base}/conf/credentials.properties</value> | |
| </property> | |
| </bean> | |
| <broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" | |
| destroyApplicationContextOnStop="true" | |
| persistent="false"> | |
| <destinationPolicy> | |
| <policyMap> | |
| <policyEntries> | |
| <policyEntry topic=">" producerFlowControl="false" memoryLimit="10mb"> | |
| <pendingSubscriberPolicy> | |
| <vmCursor /> | |
| </pendingSubscriberPolicy> | |
| </policyEntry> | |
| <policyEntry queue=">" producerFlowControl="false" memoryLimit="10mb"> | |
| <pendingQueuePolicy> | |
| <vmQueueCursor/> | |
| </pendingQueuePolicy> | |
| </policyEntry> | |
| </policyEntries> | |
| </policyMap> | |
| </destinationPolicy> | |
| <managementContext> | |
| <managementContext createConnector="false"/> | |
| </managementContext> | |
| <transportConnectors> | |
| <transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/> | |
| </transportConnectors> | |
| </broker> | |
| <import resource="jetty.xml"/> | |
| </beans> | |
| <!-- END SNIPPET: example --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <mule xmlns="http://www.mulesoft.org/schema/mule/core" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xmlns:http="http://www.mulesoft.org/schema/mule/http" | |
| xmlns:jms="http://www.mulesoft.org/schema/mule/jms" | |
| xmlns:cxf="http://www.mulesoft.org/schema/mule/cxf" | |
| xsi:schemaLocation=" | |
| http://www.mulesoft.org/schema/mule/core | |
| http://www.mulesoft.org/schema/mule/core/3.1/mule.xsd | |
| http://www.mulesoft.org/schema/mule/http | |
| http://www.mulesoft.org/schema/mule/http/3.1/mule-http.xsd | |
| http://www.mulesoft.org/schema/mule/cxf | |
| http://www.mulesoft.org/schema/mule/cxf/3.1/mule-cxf.xsd | |
| http://www.mulesoft.org/schema/mule/jms | |
| http://www.mulesoft.org/schema/mule/jms/3.1/mule-jms.xsd"> | |
| <http:connector name="http_in" validateConnections="false" keepAlive="true"/> | |
| <jms:activemq-connector name="amq" specification="1.1" jndiDestinations="false" | |
| forceJndiDestinations="false" | |
| acknowledgementMode="AUTO_ACKNOWLEDGE" clientId="testmq" | |
| durable="false" noLocal="false" | |
| persistentDelivery="false" honorQosHeaders="false" | |
| maxRedelivery="0" cacheJmsSessions="true" | |
| eagerConsumer="true" numberOfConsumers="20" | |
| disableTemporaryReplyToDestinations="false" | |
| embeddedMode="false" brokerURL="tcp://localhost:61616"/> | |
| <configuration> | |
| <default-threading-profile maxThreadsActive="300" doThreading="true"/> | |
| </configuration> | |
| <model name="Async_Request-Response_Message_Pattern"> | |
| <service name="AsyncRequestResponseService"> | |
| <inbound> | |
| <inbound-endpoint address="http://localhost:8030/hello" | |
| exchange-pattern="request-response" | |
| connector-ref="http_in"> | |
| <cxf:simple-service/> | |
| </inbound-endpoint> | |
| </inbound> | |
| <echo-component/> | |
| <outbound> | |
| <pass-through-router enableCorrelation="ALWAYS"> | |
| <jms:outbound-endpoint queue="reply.queue" | |
| exchange-pattern="one-way" | |
| connector-ref="amq"/> | |
| <reply-to address="jms://reply.queue"/> | |
| </pass-through-router> | |
| </outbound> | |
| <async-reply timeout="4000"> | |
| <jms:inbound-endpoint queue="reply.queue" | |
| exchange-pattern="one-way" | |
| connector-ref="amq"/> | |
| <single-async-reply-router/> | |
| </async-reply> | |
| </service> | |
| </model> | |
| </mule> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <jmeterTestPlan version="1.2" properties="2.1"> | |
| <hashTree> | |
| <TestPlan guiclass="TestPlanGui" testclass="TestPlan" | |
| testname="Test" enabled="true"> | |
| <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> | |
| <boolProp name="TestPlan.serialize_threadgroups">false</boolProp> | |
| <boolProp name="TestPlan.functional_mode">true</boolProp> | |
| <stringProp name="TestPlan.comments">Sample test for demonstrating | |
| JMeter Ant build script and Schematic stylesheet</stringProp> | |
| </TestPlan> | |
| <hashTree> | |
| <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" | |
| testname="Thread Group" enabled="true"> | |
| <longProp name="ThreadGroup.start_time">1143889321000</longProp> | |
| <stringProp name="ThreadGroup.delay"></stringProp> | |
| <stringProp name="ThreadGroup.duration"></stringProp> | |
| <stringProp name="ThreadGroup.num_threads">1</stringProp> | |
| <boolProp name="ThreadGroup.scheduler">false</boolProp> | |
| <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> | |
| <longProp name="ThreadGroup.end_time">1143889321000</longProp> | |
| <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | |
| <stringProp name="ThreadGroup.ramp_time">1</stringProp> | |
| </ThreadGroup> | |
| <hashTree> | |
| <SoapSampler guiclass="SoapSamplerGui" testclass="SoapSampler" | |
| testname="SOAP/XML-RPC Request" enabled="true"> | |
| <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | |
| <collectionProp name="Arguments.arguments"/> | |
| </elementProp> | |
| <stringProp name="SoapSampler.URL_DATA">http://localhost:8030/hello</stringProp> | |
| <stringProp name="HTTPSamper.xml_data"><!-- long 64kb xml file --></stringProp> | |
| <stringProp name="SoapSampler.xml_data_file"></stringProp> | |
| <stringProp name="SoapSampler.SOAP_ACTION"></stringProp> | |
| <stringProp name="SoapSampler.SEND_SOAP_ACTION">true</stringProp> | |
| <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | |
| </SoapSampler> | |
| <hashTree/> | |
| <ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" | |
| testname="View Results in Table" 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/> | |
| <ResultCollector guiclass="StatGraphVisualizer" testclass="ResultCollector" | |
| testname="Aggregate Graph" 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/> | |
| <ConstantThroughputTimer guiclass="TestBeanGUI" | |
| testclass="ConstantThroughputTimer" | |
| testname="Constant Throughput Timer" | |
| enabled="true"> | |
| <doubleProp> | |
| <name>throughput</name> | |
| <value>150.0</value> | |
| <savedValue>0.0</savedValue> | |
| </doubleProp> | |
| <stringProp name="calcMode">this thread only</stringProp> | |
| </ConstantThroughputTimer> | |
| <hashTree/> | |
| </hashTree> | |
| </hashTree> | |
| </hashTree> | |
| </jmeterTestPlan> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment