GithubHelp home page GithubHelp logo

jmeter_s3_custom_sampler's Introduction

#Custom JMeter sampler for authenticated S3 requests

This is a custom java sampler class that can be used to benchmark any S3 compatible system. It was tested against AWS and RIAK-CS 1.3.1.

Version 0.1 (alpha)

Written by: Alex Bordei @ Bigstep (alex at bigstep dt com)

##Dependencies:

  • apache jmeter sources 2.11
  • AWS SDK 1.8.1

##How to use Build using maven

mvn package

Extract zip into JMeter directory

cd jmeter_home
unzip path/to/jmeter_s3_custom_sampler/target/*.zip 

Run jmeter as ususual

sh ./bin/jmeter.sh 

Add a new jmeter Java sampler, use the com.bigstep.S3Sampler class. Alt text

Add your AWS key id, bucket, object and the rest. Alt text

When testing against another system then AWS use the proxy settings to redirect requests somewhere else. Please note that the requests will still have the original host header pointing to amazonaws.com but the system should handle the requests nontheless.

Only GET and PUT methods are currently implemented but others should be very easy to add.

jmeter_s3_custom_sampler's People

Contributors

alexandrubordei avatar bnisly avatar ccpintoiu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jmeter_s3_custom_sampler's Issues

Troubleshooting Installation

Hi,

I would like to use your plugin to do a permance test agains AWS s3.
Unfortunately I'm not that familiar with Java and Jmeter.
I successfully compiled the plugin and installed jmeter 2.11.
But I'm having the following issues:

  • I don't know where I have to place the plugin so that jmeter recognizes it.
  • I'm confused not having the "Sampler" section in my jmeter at all (there are Threads, Test Fragment, Config Element, Timer, Pre Processors, Post Processors,Assertions and Listener)

Any help would be appreciated.

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.