cancel
Showing results for 
Search instead for 
Did you mean: 

how to run sample rest projects present in smart bear website?

SOLVED
Arunachalam_RM
Occasional Contributor

how to run sample rest projects present in smart bear website?

https://support.smartbear.com/readyapi/docs/general-info/tech/rest.html#sample-projects

 

I have installed xampp server .my 8084 port is running .how the connection will be established for the ecommerce project which is 1 st among 3. how it will get loaded in my local machine 8084? @BenoitB @AlexKaras 

Arunachalam_RM_0-1612443717989.png

 

 

Arunachalam_RM_0-1612443403238.png

how to set up local server to get the ouput properly?

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
AlexKaras
Community Hero

Re: how to run sample rest projects present in smart bear website?

Hi,

 

This project consists of two parts: virtualized server that emulates tested one and tests to be executed against this virtual server.

As in is mentioned in the project description: "Sample Projects bases on a virtualized REST service. Please make sure that port 8084 is available on your local machine or you can update the virtual API under the serviceV tool to reflect an open port on your system. You will also have to update the ports on the tests to reflect the same ports on the virtual service."

 

So, you need to navigate to the APIs | EcommerceVirt project node and start virtual service (adjust port settings for the service appropriately if port 8084 is already occupied on your box).

After virtual service is started you should be able to execute tests from the Functional Tests project node.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

3 REPLIES 3
BenoitB
Community Hero

Re: how to run sample rest projects present in smart bear website?

This is web server question.

You must put in the www web server directory the necessary files to answer to the REST query

 

What do you have in the xamp www directory ?

 

If you have put the needed files, what is the response on your browser on the url localhost:8084 ?

 

 

Un sourire et ça repart

Arunachalam_RM
Occasional Contributor

Re: how to run sample rest projects present in smart bear website?

basically if am importing these projects ,how it will get configured on my machine?

Arunachalam_RM_1-1612451575524.png

 

Arunachalam_RM_0-1612451446910.png

 

AlexKaras
Community Hero

Re: how to run sample rest projects present in smart bear website?

Hi,

 

This project consists of two parts: virtualized server that emulates tested one and tests to be executed against this virtual server.

As in is mentioned in the project description: "Sample Projects bases on a virtualized REST service. Please make sure that port 8084 is available on your local machine or you can update the virtual API under the serviceV tool to reflect an open port on your system. You will also have to update the ports on the tests to reflect the same ports on the virtual service."

 

So, you need to navigate to the APIs | EcommerceVirt project node and start virtual service (adjust port settings for the service appropriately if port 8084 is already occupied on your box).

After virtual service is started you should be able to execute tests from the Functional Tests project node.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors