Giter Site home page Giter Site logo

Comments (3)

tilln avatar tilln commented on May 20, 2024 1

Hi @chhil
Thanks for picking this up. I haven't been able to use/test the server mode much.

For now, the plugin does not define the send-request configuration element, the default value of which is LAST.

See also here for Q2 config examples:
<send-request>LAST</send-request><!--default last connected -->

What you would want instead I suppose is a value of
<send-request>RR</send-request><!-- round-robin -->
which should lead to an equal distribution.

I've quickly put together a snapshot release for you that's untested so perhaps you want to give this a try?
This adds a new config item "Send Method" (any ideas for a better name?) that can be set to RR as above.

from jmeter-iso8583.

chhil avatar chhil commented on May 20, 2024

Thanks will give this release a try tomorrow.
Yes the round robin one would work for me.

SendMethod<=> Connection algorithm to use for sending.
Choices in jpos are LAST (use last connection), ALL (use all connections to send the message, basically if there are 10 connections it sends the message on all 10 connections) and RR(use round-robin ).

Your plugin has been of great help, thank you.

from jmeter-iso8583.

chhil avatar chhil commented on May 20, 2024

I did a quick test.

  1. Put the snapshot jar in and removed the older jar from the lib/ext.
  2. Had a server listening on a port and configured to send 1 transaction per second.
  3. Changed send method to RR.
  4. Had 3 netcat clients running from command prompt. (ncat 127.0.0.1 20000 -x 1.log). Used 2.log and 3.log for the other 2 connections and got a hexdump of messages in these files.
    Expectation was to see the log files of approximately the same size.
    Results as expected.
    image

I did run it with the send method as "last" too and the results were expected, one log file size was growing.

Thank you for the quick fix.

from jmeter-iso8583.

Related Issues (20)

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.