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


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


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.




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 Champion Jun 29, 2016

Have you considered just pinging the API? 

A small query or perhaps some other endpoint – https://confluence.example.com/rest/api/search?cql=text+~+%22query%22&limit=1?


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 confluence.example.com".

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 Champion 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
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,135 views 61 8
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you