Coder Social home page Coder Social logo

correlationsrecordertemplates's Introduction


Correlations Recorder Templates

AboutPrerequisitesCreating TemplatesSharing Templates

About

Correlations Recorder Central Repository it is a community where users can share their Correlation Templates to be used, and automatically downloaded into the Correlation's Recorder JMeter Plugin.

Prerequisites

In order to download, update and share templates you need to:

  1. Download and Install JMeter
  2. Install JMeter Plugin Manager
  3. Install Correlations Recorder Plugin

Creating Templates

From there, you can either start creating your templates from scratch or, load and edit one from the Central Repository (loaded by default).

Building from Scratch

Here you can use the Template we prepare for you or, just add the Component as it is.

Using the Template

  1. Go to JMeter Templates
  2. Select "Correlation Recorder"
  3. Select the "Correlation Recorder" component

Adding the Component

  1. Click in your Test Plan
  2. Follow this route: Add > Non-Test Element > "Correlation Recorder"

From this point onwards, it is just about adding Rules by clicking the "Add Button" and, when you are ready, save your Correlation Template.

Using a template from Central Repository

Loading one from the Central Repository saves you time and effort for the setting up part.

  1. Just go to Load Template button. (If the desired template its installed, go to the "Installed" Tab, if it isn't, then go to the "Available" Tab)
  2. Pick the template that you want to use
  3. Select the Version you want to load
  4. If the template's version ain't installed: you must click on install button, before loading it.
  5. If the template's version is installed: click the load button to load it.

Note: If you installed a template that required external dependencies, this will trigger a JMeter reset (otherwise ask you to manually reset). After that, just repeat the process until the point where you can load it, and click the load button.


Just like in the Building from Scratch section, after doing this, you only need to edit and save the template.

Sharing Templates

When it comes to load and share the Correlations Templates, there are some steps you need to follow to do so. In this section, we will talk about them.

Process to contribute with this repository

  1. Clone the actual repository into your machine

git clone https://github.com/Blazemeter/CorrelationsRecorderTemplates.git

  1. Edit the central-repository.json file

Add Correlation Template to Central Repository

  • Adding the name of the template, follow by a pair of {}
"myTemplate" : {}
  • Adding a version array inside, with all the versions you want to add
"myTemplate" : {
	"versions": ["1.0", "2.0"]
}

Update Correlation Template on Central Repository

  • Just add the new version into the array.

NOTE: Don't modify pre-registered versions, since it could affect the behavior for those users who have downloaded and installed that version.

  1. Copy the files for those versions into the same level of that central-repository.json file

  2. Add the files into git

The easiest way always is

git add .

or one by one

git add central-repository.json 
git add myTemplate-1.0-template.json
git add myTemplate-2.0-template.json
  1. Push to our repository and make a PR.

At the end, should look like this

+ central-repository.json (updated)
+ myTemplate-1.0-template.json
+ myTemplate-2.0-template.json

Some considerations

  1. Remember that, if your template contains dependencies, those must be uploaded into public external cloud were everyone can access without logging in.
  2. All the versions mentioned in your template MUST be in the same level as the central repository (don't create sub folders for any reason).
  3. Don't edit others template but your own.
  4. Be nice.

License

Apache License 2.0

A permissive license whose main conditions require preservation of copyright and license notices. 
Contributors provide an express grant of patent rights. Licensed works, modifications, and larger 
works may be distributed under different terms and without source code.

To know more about it, read the license here

correlationsrecordertemplates's People

Contributors

ricardopoleo avatar rpoleo avatar

Watchers

 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.