Report this

What is the reason for this report?

Smart-Meter-Test failed

Posted on July 3, 2018

Hello

I recorded one test successfully in Smartmeter

I start my test and I get an empty response. The server writes the following: WARNING (default task-31) Ignoring RPC call for disabled connector com.vaadin.ui.Button WARNING (default task-31) Ignoring RPC call for disabled connector com.vaadin.ui.Label

server ignores the query because it thinks an object would be disabled? But why? the recording was successful

later i also get the following exception in a response:

Unhandled exception: java.lang.IllegalStateException: Received a legacy variable change for com.vaadin.ui.VerticalSplitPanel (399) which is not a VariableOwner. The client-side connector sent these legacy variables: [clickedId]

can’t it find an object under this id. But does not Jmeter work with dynamic variables?

what am I doing wrong?I thank for any helps. Best regards Kourosh



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

It seems like you’re facing two separate issues with your SmartMeter test:

  1. Ignoring RPC calls for disabled connectors: This warning appears when your application is trying to perform RPC calls on disabled components. It’s likely that the component state changed between the recording and the test run, causing this warning. You might want to investigate your application’s state management and ensure the components are enabled when they should be.

  2. Received a legacy variable change for a component which is not a VariableOwner: This error is caused by the client sending legacy variables for a component that is not a VariableOwner. It is possible that the component was changed or removed after you recorded the test scenario.

Regarding dynamic variables and JMeter, it does support them. However, you may need to manually adjust your test script to account for any dynamic components or identifiers. You should consider using JMeter’s built-in extractors (e.g., Regular Expression Extractor or JSON Extractor) to extract dynamic values from server responses and use them in subsequent requests.

To resolve these issues, you can try the following:

  1. Re-record your test scenario to ensure you have the most up-to-date state of your application.
  2. Manually inspect and update your test script to account for any dynamic components or identifiers, using extractors to handle these values.

Also, make sure that your application’s state is consistent between recording and testing.

Best,

Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.