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

[Issue]: Unable to produce messages with bytes field in Protobuf schema using kloadgen plugin #434

Open
2 tasks done
vishaldhanani opened this issue Feb 15, 2024 · 5 comments

Comments

@vishaldhanani
Copy link

vishaldhanani commented Feb 15, 2024

What happened?

Hi everyone, I have a small protobuf schema with byte field. I'm trying to produce messages using this kloadgen plugin and it is throwing below error. I'm using Kloadgen 5.3.2 version which is stable for our other schemas with JMeter 5.5.

Modified Protobuf Schema:

syntax = "proto3";

message ConnectDefault1 {
  int64 connect_id = 1;
  string connect_system_name = 2;
  bytes message_body = 3;
}

Let me know if you need any other details.

MicrosoftTeams-image (3)

Can anyone help me how can I resolve this issue?

Thanks,
Vishal

KloadGen Version

kloadgen-5.3.2

Relevant log output

No response

Have you added your JMX Testplan or a replica?

  • I have added a JMX testplan

Have you added your Schema or a replica?

  • I have added the Schema
@davidgayoso
Copy link

Hello!
Could you please add the JMX testplan you are using?

@davidgayoso davidgayoso self-assigned this May 2, 2024
@vishaldhanani
Copy link
Author

Hi @davidgayoso, Thanks for review this issue. Please find the attached sample JMX file.
MESSAGING-TEST-TOPIC-LAB.zip

Please let us know if you need anything!

Thanks,
Vishal

@davidgayoso
Copy link

Hi again, @vishaldhanani!

I have just executed the test plan using Kloadgen 5.6.12 and JMeter 5.6.3 and it worked perfectly without any problem.

Could you please check if your issue is fixed with those versions?

@vishaldhanani
Copy link
Author

Hi @davidgayoso, We are using Kloadgen 5.3.2 which was more stable for us. I will try to validate using latest Kloadgen 5.6.12 and JMeter 5.6.3 plugin and let you know if it works!

Thank you,
Vishal

@vishaldhanani
Copy link
Author

Hi @davidgayoso, We just have created latest Kloadgen-5.6.12.jar using your Java source and placed the latest jar in Jmeter 5.6.3. We try to run the same schema with byte field and getting below error during the producing the protobuf messages from Jmeter.

image

Can you share the latest Kloadgen-5.6.12.jar with us so we can identify the issue?
Also, Let us know if above error will be resolve in any other Kloadgen jar.

Thank you,
Vishal

@davidgayoso davidgayoso removed their assignment May 9, 2024
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

2 participants