[Issue] ERROR n.c.k.l.i.ProtobufLoadGenerator: Please make sure that properties data type and expression function return type are compatible with each other
See original GitHub issueWhat happened?
Hi
I am getting error from “ProtobufLoadGenerator”, it is unable to load or create “Address” type or values into jmeter. Here is the edited snippet of contract:
message Order {
int32 order_id = 1; .demo.Order.CustomerAccount customer_account = 3;
message Address { string address_line_one = 2; }
message CustomerAccount { .demo.Order.CustomerAccount.BillingParty billing_party = 1;
message BillingParty {
string party_id = 3;
.demo.Order.Address party_address = 4;
}
} }
I have “Address” in “Order” but there is no variable for that. “Address” is being using in another Message.
Jmeter is unable to load structure properly for this scenario
KloadGen Version
KLoadGen 4.12.2
Relevant log output
2022-11-15 15:35:45,500 ERROR n.c.k.l.i.ProtobufLoadGenerator: Please make sure that properties data type and expression function return type are compatible with each other
com.google.protobuf.Descriptors$DescriptorValidationException: demo.Order.CustomerAccount.BillingParty.party_address: ".demo.Order.Address" is not defined.
at com.google.protobuf.Descriptors$DescriptorPool.lookupSymbol(Descriptors.java:2465) ~[kloadgen-4.12.2.jar:?]
at com.google.protobuf.Descriptors$FieldDescriptor.crossLink(Descriptors.java:1480) ~[kloadgen-4.12.2.jar:?]
at com.google.protobuf.Descriptors$FieldDescriptor.access$1000(Descriptors.java:991) ~[kloadgen-4.12.2.jar:?]
at com.google.protobuf.Descriptors$Descriptor.crossLink(Descriptors.java:954) ~[kloadgen-4.12.2.jar:?]
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
Issue Analytics
- State:
- Created 10 months ago
- Reactions:1
- Comments:22
Top Results From Across the Web
Issues · corunet/kloadgen - GitHub
[Issue] ERROR n.c.k.l.i.ProtobufLoadGenerator: Please make sure that properties data type and expression function return type are compatible with each other ...
Read more >kloadgen - bytemeta
[Issue] ERROR n.c.k.l.i.ProtobufLoadGenerator: Please make sure that properties data type and expression function return type are compatible with each other.
Read more >Cannot find module 'node:path' - Marklawlor/Nativewind
[Issue] ERROR n.c.k.l.i.ProtobufLoadGenerator: Please make sure that properties data type and expression function return type are compatible with each other, 11 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mseijasm Latest code fixed the problem but it failed for another field when evolved the schema. I just added one “repeated” element to schema ,then it failed. Please find below latest schema and error
com.google.protobuf.Descriptors$DescriptorValidationException: demo.Order.Details.InDetails.CustomsDetails.Party.Contact.contact_id: “contact_id” is already defined in “demo.Order.Details.InDetails.CustomsDetails.Party.Contact”.
Hi @mseijasm Latest code resolved “repeated” error , but we evolved our schema and getting “Address” error again at different nested level. Please take a look and resolve it to work at all nested levels. Also please take care same issue for “repeated” elements
Please find below Evolved (updated) proto and Error screenshot