It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Looking for a way to do automated test logins to Confluence (to detect application downtime).

Max Hozven Jun 29, 2016


I'm looking for a recommendation for a tool we can run from another computer on our network to periodically test logins to Confluence v5.9.2 (and alert us when it stops becoming possible)? I know there's many choices out there, hoping for one that confirmed works with Confluence logins. Also that could ideally log out of the session after (as if a login is successful, I know the next login will warn that you are already logged in, which I think would break most automated login scripts).

Please let me know, thank you.


4 answers

2 votes
Joseph Pursel Jun 29, 2016


I automated JIRA testing using Jmeter for similar reasons as you describe. I have not automated Confluence testing yet.

I have Jmeter login, perform some scripted issue comments and Agile board changes, and logout. Jmeter can be configured to write your results to a log file for later viewing, and you can watch the tests using a monitor.

to verify the results, I access the JIRA issues updated to see when comments were made and match them to the time Jmeter recorded the action.

Hope this helps.



Max Hozven Jun 29, 2016


Thank you for your suggestion below.

I have not used jmeter before, but just watched a video demonstration, I will try it out for this purpose.  If I can get it to work, I'll have to figure out how to script it and determine when it fails so it can email me an alert.  Have you ever done something like this before in your environment?

Here's the video I found for others who are interested:

JMeter - How To Login Into A Web Application


Thank you.



0 votes
Steven Behnke Community Leader Jun 29, 2016

Have you considered just pinging the API? 

A small query or perhaps some other endpoint –

0 votes
Max Hozven Jun 29, 2016


Thank you for your suggestion, much appreciated.

In our case, when the problem surfaces, the web page always responds (displaying login/password), after you enter a login and password, in the bottom left hand corner of the browser (Firefox) it says "Waiting for server".

If we used a shell script question with the above, could we add login/password info, so it would try to login and enter a different result code for success vs. error?

The most I've ever done in the past is write shell scripts to ping hosts or determine if http/https is responding, nothing with automated logins.



0 votes
Steven Behnke Community Leader Jun 29, 2016

You should be able to use basic authentication. Let me dig a little bit into that.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

2,530 views 11 28
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you