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

  • Home
  • SEARCH
  • 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 3347290
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:24:15+00:00 2026-05-18T01:24:15+00:00

I am using iPhone Sen testing framework for testing. I need to test the

  • 0

I am using iPhone Sen testing framework for testing. I need to test the asynchronous responses coming from server. Can anyone help me to find out the way to test it.

Thank you

  • 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-05-18T01:24:16+00:00Added an answer on May 18, 2026 at 1:24 am

    This may have been a duplicate question, but I don’t agree with the answer to the original one. I’ve described why in length on that question.

    In summary, creating a custom run loop for your tests is complicated and fragile. Your tests will run more consistently and more quickly if you remove the dependency on the external service that is returning the asynchronous responses and mimic the responses in your tests. This way your tests won’t fail if the external service goes down, and your tests will run much more quickly.

    There are libraries available that reopen classes like NSURLConnection and make this easy to do. It’s also relatively simple to do for a single class (like NSURLConnection), thanks to the dynamic properties of Objective C. Here is an example.

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

Sidebar

Related Questions

Using iPhone's SDK GPS API, how accurate can I get? Is it within a
using iphone sdk 4.0 I want to remove the function name stuff from this
im using iphone sdk 3.1.2 Does anyone know how to programatically obtain the name
Can User follow up on twitter using iphone application. I have done the functionality
For my application I want to calculate my car/bike speed using iphone. How can
I am using cocos2d-iphone to place Sprites onto a Layer to setup a game
Is there a way using the iPhone SDK to get WiFi information? Things like
This question discusses encrypting data on the iPhone using the crypt() function. As an
How would I expose an Objective-C method within JavaScript when using the iPhone SDK
I'd like to create a basic Hello World style application for the IPhone using

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.