Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jmeter does not connect when yandex-tank starts #863

Open
DevidzeIL opened this issue Dec 23, 2021 · 0 comments
Open

Jmeter does not connect when yandex-tank starts #863

DevidzeIL opened this issue Dec 23, 2021 · 0 comments

Comments

@DevidzeIL
Copy link

DevidzeIL commented Dec 23, 2021

When I run yandex-tank -c load.yaml the terminal displays the following error:

Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.8/dist-packages/yandextank/core/consoleworker.py", line 197, in run
    self.retcode = self.core.wait_for_finish()
  File "/usr/local/lib/python3.8/dist-packages/yandextank/common/util.py", line 845, in __exit__
    retcode = self.worker.core.plugins_end_test(retcode)
  File "/usr/local/lib/python3.8/dist-packages/yandextank/core/tankcore.py", line 315, in plugins_end_test
    retcode = self.job.aggregator.end_test(retcode)
  File "/usr/local/lib/python3.8/dist-packages/yandextank/aggregator/tank_aggregator.py", line 124, in end_test
    retcode = self.generator.end_test(retcode)
  File "/usr/local/lib/python3.8/dist-packages/yandextank/plugins/JMeter/plugin.py", line 168, in end_test
    self.reader.close()
AttributeError: 'NoneType' object has no attribute 'close'

I am using Jmeter + Yandex Tank. In Jmeter a simple HTTP Request to a server.

Yandex Tank load.yaml:

overload:
        enabled: true
        package: yandextank.plugins.DataUploader
        token_file: token.txt
        job_name: Y-Tank Stress Test
        job_dsc: Test load


jmeter:
        enabled: true
        package: yandextank.plugins.JMeter
        jmx: test.jmx
        jmeter_path: /home/dev/programs/apache-jmeter-5.4.1/bin/jmeter
        buffered_seconds: 0
        ext_log: none
        variables:
                protocol: https
                host: server.com
                path: /
                thread_rpm: 5
                loops: 1


phantom:
        enabled: false

console:
        enabled: true

telegraf:
        enabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant