Unanswered question

parsing error importing swagger

when trying to import my swagger definition for REST service i get the error message: A parsing error occurred.
The logs show:
2020/02/11 10:29:17 ERROR - neoload.Gui: attribute openapi is not of type `object`
2020/02/11 10:29:17 ERROR - neoload.Gui: Due to: com.neotys.nl.j.j
at com.neotys.nl.j.f.a(f.java:46)
at com.neotys.nl.a.a.a.b.b.a(b.java:48)
at com.neotys.nl.gui.be.run(be.java:184)

i'm cannot find any docs on creating a userpath by importing the api. can this be done?

william S.
william S.

william S.

Level
1
115 / 750
points

Answers

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

What version of NL are you using, I had something similar but I think it’s been fixed

william S.
william S.

william S.

Level
1
115 / 750
points

I'm using version 7.0.2

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

I would need to check but I think it worked for me in v6.9, stopped working in v7.0, I can check with 7.1 next time I’m in front of my PC

william S.
william S.

william S.

Level
1
115 / 750
points

thanks Neil, i will download the latest version 7.2 and try that. in the meantime i am manually creating the POST requests.

william S.
william S.

william S.

Level
1
115 / 750
points

no difference with v7.2,
I may have to try ReadyAPI

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

I tried with 7.2 and my issue was solved. if you can provide your yaml, I can pass it to R&D

william S.
william S.

william S.

Level
1
115 / 750
points

Hi Neil, with some trial and error I figured this out. I was incorrectly trying to import the swagger url instead of the definition url. Once that was done, the rest was easy.
More clarity and an example in the documentation would have been helpful to my situation.
Thanks again for your response on this.