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
  • 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. 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

Ask A Question

Stats

  • Questions 128k
  • Answers 128k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer It really depends on the size of images. I would… May 12, 2026 at 5:43 am
  • Editorial Team
    Editorial Team added an answer Try using Cycle's after and before transition callbacks to invoke… May 12, 2026 at 5:43 am
  • Editorial Team
    Editorial Team added an answer You'll need to change your CSS files. You might need… May 12, 2026 at 5:43 am

Related Questions

I have a web service I'm trying to load test. I created a program
I have a web service I'm trying to use on one of my sites.
I have a web service that takes a byte[] and saves it. This works
I have a ASMX web services running as 'network service'. I want to be
I have a WSDL file defining the interface for a web service and I

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.