Giter VIP home page Giter VIP logo

alfrescojmeterloadtestplugin's Introduction

AlfrescoJMeterLoadTestPlugin

This plug-in can be used to test load on alfresco for content uploads using jmeter's java request sampler

You can use the build script to deploy the plug-in to JMeter. Build script will deploy the jar and its dependencies to $JMETER_HOME/lib/ext directory.

It will also deploy the config.properties to $JMETER_HOME/bin. If plug-in will not find this property file at runtime then internal property file will be used by the plug-in.

Set the environment variable as "JMETER_HOME".

JMeter plug-in will use the properties file (config.properties) deployed at $JMETER_HOME/bin to populate the initial info in the JMeter Java Request Sampler GUI.

Following samplers are available

  • Upload to a Alfresco Share Site using HTTP
  • Upload to Alfresco repository folder using HTTP
  • Upload to Alfresco repository via FTP

How to deploy?

  • Clone the git repo git clone https://github.com/abhinavmishra14/AlfrescoJMeterLoadTestPlugin.git
  • Open build.xml and update the location of your JMeter Installation using updating the value of jmeter.home property.
  • Run ant build: ant deploy-plugin
    • From eclipse, you can right click on build.xml -> select deploy-plugin and click run.
  • Plug-in and required libraries will be deployed to $JMETER_HOME/lib/ext folder

How to use the plug-in?

  • Open command prompt and go to your JMeter install path.
  • Change directory to 'bin', e.g.: D:\Java\apache-jmeter-5.5\bin
  • Run jmeter.bat from command prompt to start the JMeter
  • A default test plan named 'Test Plan' will be available.



  • Add a new 'Thread Group' and keep all settings as default. You can increase the threads and ramp up time to leverage the concurrent users test scenario.
    • Right click on 'Thread Group' -> Select 'Sampler' -> 'Java Sampler'



    • Select the Sampler of your choice e.g. Upload to Repo via HTTP



    • Run the plan

alfrescojmeterloadtestplugin's People

Contributors

abhinavmishra14 avatar

Watchers

James Cloos avatar  avatar webaristan avatar  avatar

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.