Hello,
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.
-Max
Max.
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.
Joseph
Joseph,
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:
https://www.youtube.com/watch?v=hGkrSFKcj10
Thank you.
-Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should be able to use basic authentication. Let me dig a little bit into that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
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 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.
-Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.