Code Monkey home page Code Monkey logo

confluence-jmeter's Introduction

confluence-jmeter

The original files are available on Atlassian web site.

I updated the script, based on version 4.2.2, by fixing some issue and adding new features.

The script needs some fixes:

  1. it doesn't save the session on the Remote API and then operations like Create Personal Space and Grant View on Personal Space fail to connect because of the rpc token
  2. the labels used as tags in Confluence are not the same (we used demonstration and sales)
  3. the Browse User Status operation has an incomplete Response Assertion
  4. When deleting the space, operation that can take some time, the script doesn't wait in a loop so it can't remove some users and also when deleting a space Confluence doesn't go back to the Dashboard but instead stays on the page

Further I improved the script giving the possibility:

  1. to create users from Crowd, using a new command line parameter -Jenable.sso=true, which is false by default
  2. to use https in case Confluence is setup with https instead of http, using a new command like parameter -Jconfluence.protocol=https, which is http by default

Therefore after you download the script (with the resources) just remember to adapt the Crowd configuration (parameter -Jcrowd.host), that the operation Create User from Crowd expect to have Crowd under the same ip address of Confluence (you can of course change it) and be careful when modifying (from Read Only to Ready Write) the connection to Crowd.

The script has been executed on Confluence 4.3.1 with Jmeter 2.7 and Confluence 5.0.2/3 with Jmeter 2.9

Setup:

jmeter.bat -t ..\..\confluence-jmeter-master\jmeter-test-setup.jmx -Jspace.zip=..\..\confluence-jmeter-master\demo-site.zip -Jadmin.user=ADMINUSER -Jadmin.pass=ADMINPASSWORD -Jconfluence.host=HOSTNAME -Jconfluence.port=443 -Jconfluence.context=/confluence -Jenable.sso=true -Jconfluence.protocol=https

Execution:

jmeter.bat -t ..\..\confluence-jmeter-master\jmeter-test-fixedload.jmx -Jadmin.user=ADMINUSER -Jadmin.pass=aDMINPASSWORD -Jconfluence.host=HOSTNAME -Jconfluence.port=443 -Jconfluence.context=/confluence -Jconfluence.protocol=https

Deletion:

jmeter.bat -t ..\..\confluence-jmeter-master\jmeter-test-setup.jmx -Jremove.data=true -Jadmin.user=ADMINUSER -Jadmin.pass=ADMINPASSWORD -Jconfluence.host=HOSTNAME -Jconfluence.port=443 -Jconfluence.context=/confluence -Jconfluence.protocol=https

confluence-jmeter's People

Contributors

emidiostani avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mifurm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.