Author: sebb
Date: Fri Apr 4 18:52:51 2008
New Revision: 645011
URL: http://svn.apache.org/viewvc?rev=645011&view=rev
Log:
Add AL header; remove unnecessary method call
Modified:
jakarta/jmeter/trunk/bin/BeanShellAssertion.bshrc
jakarta/jmeter/trunk/bin/BeanShellFunction.bshrc
jakarta/jmeter/trunk/bin/BeanShellListeners.bshrc
jakarta/jmeter/trunk/bin/BeanShellSampler.bshrc
Modified: jakarta/jmeter/trunk/bin/BeanShellAssertion.bshrc
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/bin/BeanShellAssertion.bshrc?rev=645011&r1=645010&r2=645011&view=diff
==============================================================================
--- jakarta/jmeter/trunk/bin/BeanShellAssertion.bshrc (original)
+++ jakarta/jmeter/trunk/bin/BeanShellAssertion.bshrc Fri Apr 4 18:52:51 2008
@@ -1,5 +1,23 @@
// Sample BeanShell Assertion initialisation file
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
//print("Initialisation started");
import org.apache.jmeter.util.JMeterUtils;
@@ -15,7 +33,7 @@
}
setprop(p,v){// set a JMeter property
- JMeterUtils.getJMeterProperties().setProperty(p, v);
+ JMeterUtils.setProperty(p, v);
}
// Assertions can use the following methods on the Response object:
Modified: jakarta/jmeter/trunk/bin/BeanShellFunction.bshrc
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/bin/BeanShellFunction.bshrc?rev=645011&r1=645010&r2=645011&view=diff
==============================================================================
--- jakarta/jmeter/trunk/bin/BeanShellFunction.bshrc (original)
+++ jakarta/jmeter/trunk/bin/BeanShellFunction.bshrc Fri Apr 4 18:52:51 2008
@@ -1,5 +1,23 @@
// Sample BeanShell Function initialisation file
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
//print("Initialisation started");
import org.apache.jmeter.util.JMeterUtils;
@@ -15,7 +33,7 @@
}
setprop(p,v){// set a JMeter property
- JMeterUtils.getJMeterProperties().setProperty(p, v);
+ JMeterUtils.setProperty(p, v);
}
// Define routines to stop the test or the current thread
Modified: jakarta/jmeter/trunk/bin/BeanShellListeners.bshrc
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/bin/BeanShellListeners.bshrc?rev=645011&r1=645010&r2=645011&view=diff
==============================================================================
--- jakarta/jmeter/trunk/bin/BeanShellListeners.bshrc (original)
+++ jakarta/jmeter/trunk/bin/BeanShellListeners.bshrc Fri Apr 4 18:52:51 2008
@@ -1,5 +1,23 @@
// Example BeanShell Listener definitions
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
// ThreadListener methods
threadStarted(){
Modified: jakarta/jmeter/trunk/bin/BeanShellSampler.bshrc
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/bin/BeanShellSampler.bshrc?rev=645011&r1=645010&r2=645011&view=diff
==============================================================================
--- jakarta/jmeter/trunk/bin/BeanShellSampler.bshrc (original)
+++ jakarta/jmeter/trunk/bin/BeanShellSampler.bshrc Fri Apr 4 18:52:51 2008
@@ -1,5 +1,23 @@
// Sample BeanShell Sampler initialisation file
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
//print("Initialisation started");
import org.apache.jmeter.util.JMeterUtils;
@@ -15,7 +33,7 @@
}
setprop(p,v){// set a JMeter property
- JMeterUtils.getJMeterProperties().setProperty(p, v);
+ JMeterUtils.setProperty(p, v);
}
// Define routines to stop the test or a thread
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]