Navigation

    SOFTWARE TESTING

    • Register
    • Login
    • Search
    • Job Openings
    • Freelance Jobs
    • Services
    • Conferences
    • Courses
    1. Home
    2. Recent
    Log in to post
    • All categories
    • Job Openings
    • Freelance Jobs
    • Services
    • Conferences
    • Courses
    • Automated Testing
    • Manual Testing
    • API Testing
    • Mobile Testing
    • Performance, Load, Stress Testing
    • Usability Testing
    • Security, Penetration Testing
    • Localization Testing
    • SQL, Database Testing
    • Continuous Integration and Delivery (CI, CD)
    • Test Management
    • General Discussion
    • About software-testing.com
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • Alberto

      What should I use in .NET Core test project - HttpClient or RestSharp?
      API Testing • httpclient netcore restsharp • • Alberto  

      2
      0
      Votes
      2
      Posts
      1
      Views

      B

      Some prefer to use HttpClient because it is already built into the framework. So there's no need to add extra bloat to your project. RestSharp, like any library, is easier to use because someone already did the hard work and ironed out the problems gotten along the way. I have used both, and the one is not better than the another. It just depends on your use-case, situation and environment. I had a WebAPI proxy project that needed to call another REST API. I chose RestSharp at first because I was already familiar with it from using it in another project. However, I changed to HttpClient eventually because it uses the same return types as the WebAPI controllers, so it just saved me time from having to convert RestSharp's responses back to a HttpResponseMessage. Of course each one has its pros and cons, it just boils down to your use-case.
    • headfirst

      XPath Cheatsheet
      Automated Testing • xpath cheatsheet • • headfirst  

      1
      0
      Votes
      1
      Posts
      1
      Views

      No one has replied

    • K

      Run TestNG test several times with BeforeTest execution?
      Automated Testing • java testng • • Kadir  

      2
      0
      Votes
      2
      Posts
      1
      Views

      morde

      use @BeforeMethod and @AfterMethod as following: public class DemoTest { private static final Logger log = LoggerFactory.getLogger(DemoTest.class); @BeforeMethod public void before() { log.info("before"); } @AfterMethod public void after() { log.info("after"); } @Test public void test1() { log.info("test1"); } @Test public void test2() { log.info("test2"); } } result: before test1 after before test2 after
    • A

      JMeter vs ReadyAPI SOAP API Performance Testing
      Performance, Load, Stress Testing • performance jmeter api soap • • Avante  

      2
      0
      Votes
      2
      Posts
      3
      Views

      R

      Not only the server need to be able to respond fast enough, JMeter must be able to send requests fast enough as well. Default JMeter configuration is suitable for tests development and debugging and creating some load (rather limited though), you need to properly tune your JMeter instance in order to fully utilize your machine resources If your single machine is not powerful enough to conduct the required load it's possible to run JMeter in distributed mode using as many load generators as needed in order to create the necessary number of virtual users/requests per second
    • A

      Dynamic variable for a value from array in Postman
      API Testing • postman array • • Amritpal  

      2
      0
      Votes
      2
      Posts
      2
      Views

      C

      let jsonData = pm.response.json(); pm.environment.set("test_name", jsonData.test3[0].id3); test3 is an array so you have to get the first object and then id3
    • N

      Multiple SQL statements together?
      SQL, Database Testing • sql • • Nykeriab  

      2
      0
      Votes
      2
      Posts
      3
      Views

      Z

      The where clause is redundant. You can just add all to a single query: select count(column1), count(column2), . . . count(column20) from t
    • Alberto

      Jmeter doesn't show results when executed on slave, both GUI and CLI
      Performance, Load, Stress Testing • jmeter gui cli • • Alberto  

      3
      0
      Votes
      3
      Posts
      1
      Views

      D

      The .csv file in what the test are based must be in the slave inside the JMeter bin folder /bin/data/yourFile.csv
    • E

      Privacy Policy
      About software-testing.com • privacy policy • • Eugene  

      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • B

      Performance Testing vs Unit Testing
      Performance, Load, Stress Testing • performance unit testing • • Burma  

      4
      0
      Votes
      4
      Posts
      3
      Views

      jeanid

      I agree that performance tests cannot be unit tests but there is no reason we cannot have another set of tests called performance tests. Broadly the tests fall under two categories a) Unit tests b) Integration tests We run integration tests again the real database (instead of in memory) to ensure the sql scripts, the hibernate repositories work as expected My idea is we can add another set of tests called performance tests which are a part of nightly build which tests for performance of certain functions. This is important to track down the statistics after a code re factoring or to evaluate if changes to one part of application can have unintended consequence on another. I have come across JunitPerf which might help me to achieve this objective.
    • K

      How to Change a html line code with python?
      Automated Testing • selenium webriver python html • • Kadir  

      2
      0
      Votes
      2
      Posts
      2
      Views

      J

      To remove the attribute disabled="" you can use the following line of code: driver.execute_script("arguments[0].removeAttribute('disabled')", element)
    • 1
    • 2
    • 3
    • 4
    • 5
    • 16
    • 17
    • 1 / 17