processone / rtb

Benchmarking tool to stress real-time protocols
https://www.process-one.net/
Apache License 2.0
50 stars 7 forks source link

Benchmark fails with ejabberd and enabled mod_echo #1

Closed ChaosKid42 closed 6 years ago

ChaosKid42 commented 6 years ago

I repeatedly experienced the following error. Disabling mod_echo solved it for me.

07:35:40.714 [warning] Unsupported IQ request:
#iq{id = <<"12736551539884251276">>,type = get,lang = <<"de">>,
    from = #jid{user = <<>>,server = <<"echo.my.tld">>,
                resource = <<>>,luser = <<>>,
                lserver = <<"echo.my.tld">>,lresource = <<>>},
    to = #jid{user = <<"user7">>,server = <<"my.tld">>,
              resource = <<"res7">>,luser = <<"user7">>,
              lserver = <<"my.tld">>,lresource = <<"res7">>},
    sub_els = [#xmlel{name = <<"query">>,
                      attrs = [{<<"xmlns">>,
                                <<"http://jabber.org/protocol/disco#info">>}],
                      children = []}],
    meta = #{}}

Benchmark failure: Failed to request disco#info from echo.my.tld: Unsupported IQ request (feature-not-implemented)
zinid commented 6 years ago

Well, mod_echo is a stupid module. Not sure I need to add a work-around for it.