Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8408003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T23:31:38+00:00 2026-06-09T23:31:38+00:00

I am currently writing an application which is kind of a proxy between the

  • 0

I am currently writing an application which is kind of a proxy between the end-user and a web service.

The user requests a service, and the application calls the web service method with appropriate parameters set, and returns the result.

To make sure nothing went wrong, I have decided to create unit tests for the project (Yep! I know it’s a bit late to do it after writing the code. I’ll write the unit-tests first next time).

in these unit tests, I have to make real requests to the web service to be sure no permission exception, service-related exception, etc is raised. Therefore extracting an interface and mocking the service for testing is not going to help. Is it acceptable to write unit tests, that actually call the real web service?

Is it possible to have a delay between two tests if my web service just allows for example one request per minute?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T23:31:38+00:00Added an answer on June 9, 2026 at 11:31 pm

    What you are speaking about is integration test.

    It’s not a problem to write such tests for your web service. They are written in the same style as unit test but testing live system and or it’s parts. You can even start your web service in your test context.

    And it’s up to you and your test context to limit situations with call delays or simulate any other situation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently writing some intranet web application where people could submit to admins requests
I'm currently writing an iPhone application which gets some data from the user and
I'm currently writing a web services based front-end to an existing application. To do
I'm currently writing an application which uses ajax on the front end and ASP.NET
I'm currently writing a web application which uses forms and PHP $_POST data (so
I am currently writing a user management application which administers users in a single
I'm currently writing a c++ application for a linux server which basically handles requests
I am currently writing an application which requires me to call GetWindowText on arbitrary
I am currently writing an API and an application which uses the API. I
I am currently writing an application where the user has, at some point, to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.