TestProject Forum

How to get random number with Json addon

Hi All,

I’m new in the testing world :slight_smile:

I’m trying to past a random number with the json adon, but looks like i’m missing some steps:

step 1 : random number => OK

step 2 : Json addon

Jsonfile : {“randomNumber”: “SOME_VALUE”}
Jsonpath: $.randomNumber

Edit test parameter:
name : Rnumber
value :

Type: input

The json doesn’t get the random number.
If anyone can help on this topic will be great

Regards
Vincent

I tried with the addon “type text” and the result doesn’t return the random number :

I sorted my mistake in the Jsonfile string (missing “{SOME_VALUE}”)