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 85473
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:05:41+00:00 2026-05-10T22:05:41+00:00

I have a web service I’m trying to load test. I created a program

  • 0

I have a web service I’m trying to load test. I created a program that spawns threads to simulate multiple users connecting to the service and making a request. Each thread makes ‘some number’ of requests before it dies. Each new request is made as soon as it is ready – there is little to no delay between getting a response and making the next request. The web service under test calls another web service on the same server.

This process seems to work fine up to 90 simulated users. Once I try 100 simulated users however, the programs hang after about 6 total processed requests. They don’t seem to be doing anything. The simulated clients are hung waiting for responses and the web service is not receiving the requests. It takes a server restart to recover.

What’s going on here? Is there a limit to the number of connections I can make to the server? Should I attempt to ‘ramp up’ the load (right now I’m just firing them as fast as I can)?

The server I’m using us Java Caps 5.1.3 application server and the library I’m using to make the requests is HttpUnit 1.6.2.


Followup Question What’s the benefit of the ramp up time? Why can’t I just push all the load to the server at the start of the test?

  • 1 1 Answer
  • 1 View
  • 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. 2026-05-10T22:05:42+00:00Added an answer on May 10, 2026 at 10:05 pm

    See there can be multiple causes for this happening, you can try the approach below to figure out the cause. Hope they help:

    1. Use Ramp-up

    Use a decent ramp-up, say atleast 1user/2 seconds or such. If using Ramp-up solves your problem, then its definitely a Connection Count issue.

    2. Code Review

    Thoroughly check the load-injection code you have written,for unexited loops/thread in some cases.

    You can also use a profiling utility, e.g. JENSOR to find out which method is going into a deadlock and causing the server to be unresponsive.


    Also, Check these parameters on your web-server and tweak them and test

    • MaxThreads
    • MaxProcesses
    • MaxSessionCount

    Answer for Follow-up Question

    The ramp-up simulates a real-life scenario, and at the same time gives a breathing space to the Web Server. When doing load-testing, the pattern should be as similar to the real life to get accurate and scalable predictions.

    The parameters which play the most important part in doing this are:

    • Ramp-up
    • Think Time
    • Pacing b/w iterations
    • Transaction Mix
    • No. of concurrent users
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web service that I created in C# and a test harness
I have a web service and multiple clients that will use it. A MVC
I have a web-service that I will be deploying to dev, staging and production.
I have a web service (ASMX) and in it, a web method that does
I have a web service that queries data from this json file, but I
I have a web service that uses Python's SimpleJSON to serialize JSON, and a
I have a web service that is protected by requiring the consuming third party
I have a web service which has a generic function that returns a dataset
I have a web service class that the rest of the framework depends on
I have web service written that generates some data...can I call the web service

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.