Shooting unique requests



  • Target: shoot unique requests. Each request has a headline, the contents of which are a signature based on a certain algorithm from the body and the headings of the request.

    The signature should be unique (organized by random data in the heading). Accordingly, every request must be unique as well.

    Question: How is it best to organize?



  • Two options:

    1. Used yandex-tank with load default generator phantom♪ Here. The tank enters a file with requests, so you need it. pre-generated (see). https://yandextank.readthedocs.org/en/latest/tutorial.html#request-style ) Before loading the tank stapper prepares a file from it. ammo.stpd, which sets out requests with timestemp, when The holder shall be shot (according to your schedule). The file with requests is read consistently by the stapper. If the file is over, and the schematic requires more ammo, the stapper will start reading the file again. There are no restrictions on the number of readings in default (which can be challenged) phantom.loop - in the same dock.
    2. Create the script. jmeterwhere by beanshell/jexl for summer create the necessary headings. The scenario, if desired, can be connected to the tank, in the module [jmeter] https://yandextank.readthedocs.org/en/latest/configuration.html#jmeter

Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2