Skip to content

Commit

Permalink
Disables HTTP Authorization Manager by default.
Browse files Browse the repository at this point in the history
Moves Create Fixtures Directory from Authenticate thread group (why was it here anyway?) to
Create Fixtures thread group

Changes default value of fedora_4_context from "fcrepo/rest" to "rest" (this property is mis-named. It's not the webapp context--
it's the webapp context plus the jax-rs endpoint)
  • Loading branch information
Edwin Shin committed Jun 18, 2013
1 parent d27d669 commit f80e662
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions plans/fedora.jmx
Expand Up @@ -54,7 +54,7 @@
</elementProp>
<elementProp name="FEDORA_4_SERVER_CONTEXT" elementType="Argument">
<stringProp name="Argument.name">FEDORA_4_SERVER_CONTEXT</stringProp>
<stringProp name="Argument.value">${__property(fedora_4_context,,fcrepo/rest)}</stringProp>
<stringProp name="Argument.value">${__property(fedora_4_context,,rest)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="SEED" elementType="Argument">
Expand Down Expand Up @@ -132,7 +132,7 @@
<stringProp name="TestPlan.user_define_classpath"></stringProp>
</TestPlan>
<hashTree>
<AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
<AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="false">
<collectionProp name="AuthManager.auth_list">
<elementProp name="" elementType="Authorization">
<stringProp name="Authorization.url">http://${FEDORA_4_SERVER_NAME}:${FEDORA_4_SERVER_PORT}/rest</stringProp>
Expand Down Expand Up @@ -167,17 +167,6 @@
<stringProp name="ThreadGroup.delay"></stringProp>
</SetupThreadGroup>
<hashTree>
<BSFSampler guiclass="TestBeanGUI" testclass="BSFSampler" testname="Create Fixtures Directory" enabled="true">
<stringProp name="scriptLanguage">javascript</stringProp>
<stringProp name="parameters"></stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="script">importPackage(java.io);
var dir = new File(vars.get(&quot;FIXTURES_DIRECTORY&quot;));
if(!dir.exists()) {
dir.mkdir();
}</stringProp>
</BSFSampler>
<hashTree/>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fedora 3 Describe" enabled="false">
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<collectionProp name="Arguments.arguments"/>
Expand Down Expand Up @@ -407,6 +396,17 @@ if(!dir.exists()) {
<boolProp name="CounterConfig.per_user">false</boolProp>
</CounterConfig>
<hashTree/>
<BSFSampler guiclass="TestBeanGUI" testclass="BSFSampler" testname="Create Fixtures Directory" enabled="true">
<stringProp name="scriptLanguage">javascript</stringProp>
<stringProp name="parameters"></stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="script">importPackage(java.io);
var dir = new File(vars.get(&quot;FIXTURES_DIRECTORY&quot;));
if(!dir.exists()) {
dir.mkdir();
}</stringProp>
</BSFSampler>
<hashTree/>
<LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Datastreams" enabled="true">
<boolProp name="LoopController.continue_forever">true</boolProp>
<stringProp name="LoopController.loops">${NUM_DATASTREAMS}</stringProp>
Expand Down

0 comments on commit f80e662

Please sign in to comment.