Ask a Question

loadUI JIRA script component

erikralenius
Occasional Contributor

loadUI JIRA script component

Hi all!

I have created my first script component for creating a JIRA issue for Web Page Runner failures.
If you find any bugs or have suggestions of improvements. Please let me know

Download
The component can be downloaded from:http://ralenius.se/apps/JIRA.zip

Installation
Just unzip the archive into the script-components folder in the loadUI root folder.

Usage
The JIRA component must be connected to the leftmost output terminal (resultTerminal) of the Web Page Runner
component. The status message will change to Ready when you are connected.

Next, specify the maximum number of captured failures you want in your JIRA issue by turning the knob.

Then click on the Settings button and fill out the settings.
Observe! The password is sent unencrypted over XML-RPC to the specified JIRA server. Use SSL if possible.

Now we are ready to capture some failures. Keep an eye on the Failures captured counter to know how many failures has been captured.

When the running test has been completed, an issue with all captured failures is created including the time, URL and generator properties used when the failure was captured.

Troubleshooting
If you get the status Issue failed when trying to create the JIRA issue, please check you settings.
You could also try to run the loadUItest.bat script to a more specified error message.
7 REPLIES 7
SmartBear_Suppo
SmartBear Alumni (Retired)

Sounds great!

Your link doesn't work (right now) though. If you're having problems with your server (needs more load testing? ), remember that this forum accept zip-files as attachments.

/Henrik
eviware

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
erikralenius
Occasional Contributor

Aw snap. I suspect that it's down due to "human error".
Thanks for the tip. I'll attach the zip as soon as I get home from work.

By the way. If you don't have access to a JIRA server, you could sign up for a free sandbox environment account at http://sandbox.onjira.com
erikralenius
Occasional Contributor

I have have now fixed the problems with my server, and is attaching the archive just in case.
erikralenius
Occasional Contributor

More troubleshooting

The JIRA component uses the groovy-xmlrpc dependency: http://groovy.codehaus.org/XMLRPC

If one encounters problems fetching the smack dependency from Maven repos, try downloading it from here: http://www.igniterealtime.org/downloads/index.jsp and installing it manually to your local Maven (http://maven.apache.org) repo with the command:

mvn install:install-file -DgroupId=jivesoftware -DartifactId=smack -Dversion=3.0.1 -Dpackaging=jar -Dfile=/path/to/file../smack.jar


You may also want to check out how to configure Grape (Groovys package manager) to look in you local maven repo: http://groovy.codehaus.org/Grape

Source: http://groovy.329449.n5.nabble.com/XML-RPC-td380078.html
SmartBear_Suppo
SmartBear Alumni (Retired)

If you know of an alternate M2 repo which is hosting the required smack library, you can add a header to your groovy file to automatically add it when resolving dependencies:


@m2repo http://...


Regards,
Dain
eviware.com

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
tunen2fate
Occasional Contributor

erikralenius wrote:

Usage
The JIRA component must be connected to the leftmost output terminal (resultTerminal) of the Web Page Runner
component. The status message will change to Ready when you are connected.


When I connect the component the status will not change.
erikralenius
Occasional Contributor

Hi!

I've now fix the issue regarding this.
Please see viewtopic.php?f=10&t=7457&p=28565#p28565
cancel
Showing results for 
Search instead for 
Did you mean: