Re: Keyword "Get Json Value" is not found in CSIT Suites.


Srinivas <srinivas.rachakonda@...>
 

Hi Luis,

 

Thanks for the suggestion.

 

I have raised the below:

https://git.opendaylight.org/gerrit/c/integration/test/+/91289

 

Its has been reviewed and merged by Jamo.

 

Thanks,

Srinivas

+91-9243478719

 

From: Luis Gomez <ecelgp@...>
Sent: 14 July 2020 21:50
To: Srinivas Rachakonda <srinivas.rachakonda@...>
Cc: Jamo Luhrsen <jluhrsen@...>; integration-dev@...; karthikeyan <karthikeyan.k@...>; P S Ravikanth <ravikanth.ps@...>; Manjunath N P <manjunath.np@...>; R P Karthika . <r.p.karthika@...>
Subject: Re: [integration-dev] Keyword "Get Json Value" is not found in CSIT Suites.

 

You can do what the answer suggests: convert the json string to json structure (use json.loads or To Json), and then get the desired value like in python: ${JSON['token']}

 

BR/Luis

 



On Jul 14, 2020, at 1:20 AM, Srinivas via lists.opendaylight.org <srinivas.rachakonda=altencalsoftlabs.com@...> wrote:

 

Hi Jamo,

 

Scripts are failing with the keyword “Get Json Value” not found.

Looks like this is not supported in Python3.

 

Please suggest on workaround for this.

 

 

 

Thanks,

Srinivas

+91-9243478719

 

 

Join {integration-dev@lists.opendaylight.org to automatically receive all group messages.