Code Monkey home page Code Monkey logo

Comments (6)

splurgeop avatar splurgeop commented on June 11, 2024

It seems the mountebank is taking some time to respond which results in failure of the tests.
Is there any way to wait till mountebank respond for a specific endpoint. It seems due to too many parallel hits and big body,the mountebank is taking some time to respond.

Also i can see the below logs ,the total difference is 4 sec from the time the connection is established and the time the connection is closed.

{"message":"[https:443] ::ffff:172.22.0.10:58636 ESTABLISHED","level":"debug","timestamp":"2022-09-07T13:35:40.617Z"}
..
..
..
{"message":"[https:443] ::ffff:172.22.0.10:58636 CLOSED","level":"debug","timestamp":"2022-09-07T13:35:44.028Z"}

from mountebank.

splurgeop avatar splurgeop commented on June 11, 2024

also while debugging getting the Processing time as 173.
I hope its in seconds?

 "processingTime": 173
    }
  ],
  "_links": {
    "self": {
      "href": "/imposters/443/stubs/39"
    }
  }

from mountebank.

splurgeop avatar splurgeop commented on June 11, 2024

seems like for this one we have a performance issue PR already raised
#696
@bbyars are you planning to merge this one soon?

from mountebank.

bbyars avatar bbyars commented on June 11, 2024

from mountebank.

splurgeop avatar splurgeop commented on June 11, 2024

The #2, i am working on the code and but i am seeing the #1 which might be due to mountebank loading all the mocks in memory and if the payload is quite big takes time to respond.While running the mb in debug mode i can see the response taking more time.
I have used the data-dir option to load the mocks from a directory.looking if that solves the problem

from mountebank.

splurgeop avatar splurgeop commented on June 11, 2024

This can be closed as the issue seems to be fixed from our side.

from mountebank.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.