Forum Discussion

Fred-asv's avatar
Fred-asv
Occasional Contributor
8 years ago
Solved

Hi, I get an error message when I try to impot a .raml file in "file-->new-->funcional test"

The error says: "could not import a definition from the specified file"

 

Here the .raml I'm using:

 

#%RAML 0.8
---
title: Static Content Services
version: 1.0
baseUri: http://localhost:8088/extranet-ssff/rest/api/static-contents
mediaType: application/json

/:
post:
description: Save Static Content
queryParameters:
updateDraftContent:
type: boolean
required: false
body:
application/json:
responses:
201:
body:
application/json:
/{id}:
get:
responses:
200:
body:
application/json:
delete:
responses:
200:
body:
application/json:
put:
description: Updates Static Content
queryParameters:
updateDraftContent:
type: boolean
required: false
body:
application/json:
responses:
200:
body:
application/json:
/options:
get:
responses:
200:
body:
application/json:
/disclaimer:
get:
responses:
200:
body:
application/json:
/welcome:
get:
responses:
200:
body:
application/json:

  • Ok, the solution (thanks to Matti) is: 

     

    - So that the plugins button works properly, you have to launch ready-api by right-click-->"run as administrator" 

    - When RAML plugin is installed properly, then you can import .raml files but not from "file --> new --> funcional test" it doesnt work, you have to go through file --> new --> project and then on the left pick "Description file" and on the right "RAML". 

     

    that way it works.

9 Replies

    • Fred-asv's avatar
      Fred-asv
      Occasional Contributor

      Hi Tanya,

      Thanks for your answer,

       

      Well I tried to install it, I put the content of both folders from the "soapui-raml-plugin-0.4-plugin-dist.zip" zip file, into :

      ..\program files\smartbear\ReadyApi-1.0.9\bin\

       

      and also into:

      C:\users\{my user}\.soapui

       

      I restarted Ready!api  and still same isue.

      How can I see that the plugin is well installed? When I click on "file-->plugins" in the app Ready! API, nothing happens.

       

      Is this splugin compatible with Ready! API, or only with the old SoapUI standalone?

       

       

    • Fred-asv's avatar
      Fred-asv
      Occasional Contributor

      So... what should I do to install this plugin on Ready!API platform?

       

      I followed the installation steps, and still doesn't work.

       

      • MattiH's avatar
        MattiH
        Staff

        There's a plugin manager in Ready! API/SoapUI NG that is the preferred way of installing plugins.

         

        It is located on the Icon command bar next to Environments button.

         

        See screen shot.

         

        BR

        Matti