09-07-2023, 10:38 PM
Hi,
go to the "Http Request" settings.
Select:
input emulator V0 (The request will be executed every time the V0==1)
Output emulator V1 (This variable will store the http json request)
Add the script "Json to variable converter". Go to the settings:
Input emulator V1
Output emulator V2
Value json path: Val
Save
Add a button for emulator V0
Add a "Value display" for V1
Add a "Value display" for V2
Reload the project to restart the emulator
Click on the button to set the V0 to 1
The request will be executed
The http response will be stored in the variable V1
The converter will extract the value of the field Val to V2
You have to see the results to the value displays.
I have tested. It works fine
go to the "Http Request" settings.
Select:
input emulator V0 (The request will be executed every time the V0==1)
Output emulator V1 (This variable will store the http json request)
Add the script "Json to variable converter". Go to the settings:
Input emulator V1
Output emulator V2
Value json path: Val
Save
Add a button for emulator V0
Add a "Value display" for V1
Add a "Value display" for V2
Reload the project to restart the emulator
Click on the button to set the V0 to 1
The request will be executed
The http response will be stored in the variable V1
The converter will extract the value of the field Val to V2
You have to see the results to the value displays.
I have tested. It works fine