You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2016/09/10 13:25:36 UTC

svn commit: r1760161 - /jmeter/trunk/bin/utility.groovy

Author: pmouawad
Date: Sat Sep 10 13:25:36 2016
New Revision: 1760161

URL: http://svn.apache.org/viewvc?rev=1760161&view=rev
Log:
Bug 59991 New function __groovy to evaluate Groovy Script. Contributed by Ubik Load Pack (support at ubikloadpack.com)
Add missing file
Bugzilla Id: 59991

Added:
    jmeter/trunk/bin/utility.groovy

Added: jmeter/trunk/bin/utility.groovy
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/utility.groovy?rev=1760161&view=auto
==============================================================================
--- jmeter/trunk/bin/utility.groovy (added)
+++ jmeter/trunk/bin/utility.groovy Sat Sep 10 13:25:36 2016
@@ -0,0 +1,20 @@
+/*
+ * 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.
+ *
+ */
+
+// Uncomment this function and use it with ${__g(factorial(10))}
+// def factorial(n) { n == 1 ? 1 : n * factorial(n - 1) }
\ No newline at end of file