Hot answers tagged

4 votes

How to read the encrypted payload where the http data would be located

If I'm reading your question correctly, it sounds like you're expecting this machine running Wireshark to be able to monitor all traffic across the router. Wireshark can't do that since it monitors ...
user avatar
  • 1,030
3 votes

How do you think how to test this server?

You need to clarify "high-speed processing" in its requirement. This kind of descriptive requirements is what we should avoid when drafting requirements. Talk to your developers or business analysts, ...
user avatar
  • 9,660
3 votes
Accepted

curl tests automatization?

Postman has a command line Collection Runer called Newman: By default, Newman exits with a status code of 0 if everything runs as expected with no exceptions. You can configure your continuous ...
user avatar
  • 4,079
3 votes

How to create automated tests for functionality that needs synchronization with current time?

I would handle this by a slightly different method, given that you are creating a mock web server. Since the data you're retrieving depends so heavily on the time, I would use a mock/fake time ...
user avatar
  • 30.8k
2 votes
Accepted

JMeter Response data does not match the actual results

There can be many different reasons, it is hard to guess without seeing your Test Plan and these 2 responses. Something application-specific, for instance if you are testing news portal the response ...
user avatar
  • 12.6k
2 votes
Accepted

Negative testing plus sign in url parameter

You can find locations by visiting Google Maps and performing a search for "A+" for example. Here is one instance: https://www.google.ca/maps/place/A%2B+Sushi/@45.4174868,-75.7006636,17z/data=!3m1!...
user avatar
2 votes

Avoid recording unwanted request in jmeter recorder automatically

You can achieve this while creating the test script in JMeter. Please follow below steps: Add 'HTTP(S) Test Script Recorder' under JMeter workbench when you start to develop the load test Uncheck '...
user avatar
  • 1,131
2 votes

How to fail a test based on error status codes in integration tests?

This is actually a relatively simple programming exercise: what differs/matters here is how you implement it. The HAR specifications (linked to from your link) state that the response object will ...
user avatar
  • 30.8k
2 votes

What are some nice sources for User-Agent strings?

I searched google and found another which is pretty GOOD. You can find them here and here.
user avatar
  • 121
2 votes
Accepted

soapUI - REST API, parameters as variables in request body are empty (*previously posted as guest by accident)

Steps I followed Create a new Rest project Add plain parameter to request called it in request body using ${test} (${#test} also works) Right-click the request and click 'Add to Testcase' Now run the ...
user avatar
  • 10.8k
2 votes

How to assign CSV file without using ${__threadNum} in JMeter

You can use __counter() function just the same way you're using __threadNum() function. The __counter() function generates an incremented number each time it's being called. Another option is going ...
user avatar
  • 12.6k
2 votes

Testing REST - submitting a web-form. Identifying why the server responses with 500 for some emails and for some - 200

Your testing is good. You are considering different possibilities and conducting experiments to see what happens. That is great. I would continue that process. Here are some thoughts for you to ...
user avatar
2 votes
Accepted

How to perform HTTP PUT Request by reading values from CSV in JMeter?

JMeter's built-in CSV Data Set Config is reading lines from the CSV file sequentially so each user will get the next line on each iteration. If you need to read a random line (however I don't think it'...
user avatar
  • 12.6k
2 votes

Rest assured vs Http client for Api testing?

Which approach or should I say framework is better? I don't think you can compare them just like that when you don't mention any context, any goals you might have, what you want to achieve with the ...
user avatar
  • 4,328
1 vote

curl tests automatization?

You can also use Insomnia for manual testing. I have previously used Soap UI as well and automated this more.
user avatar
1 vote

curl tests automatization?

Just to add to the above answers, in postman if you click the collection and click view in web you can see the equavalent curl commands: Then you can see curl comment in the api documentation : ...
user avatar
  • 10.8k
1 vote

curl tests automatization?

If you go the bash route The following may help. It uses a function called do_test that let you pass a function and test the results. #!/usr/bin/env bash . colors_for_text.sh 2> /dev/null do_test (...
user avatar
1 vote

How to perform HTTP PUT Request by reading values from CSV in JMeter?

I've managed to find a solution with my problem -> I made a mistake by: 1) Creating CSV file in gEdit (Linuxs' equivalent of Windows Notepad) instead of using LibreOffice Calc where work is done in ...
user avatar
  • 143
1 vote

GUI tool for API testing with possibility to choose HTTP protocol version

I created a GUI tool for testing HTTP requests, with support for HTTP/2 and HTTP/3. It has full compatibility with existing Postman collections and environments. https://github.com/alexandrehtrb/...
user avatar
  • 111
1 vote

GUI tool for API testing with possibility to choose HTTP protocol version

In the version of Insomnia I am using (2021.3.0) you can change the HTTP version in the settings. The options are Default, HTTP 1.0, HTTP 1.1, HTTP/2
user avatar
  • 11
1 vote

Testing REST - submitting a web-form. Identifying why the server responses with 500 for some emails and for some - 200

- Is it really happening because of x-www-form-urlencoded? If so, why then we are able to get 200 Ok with teststudent@skyeng.ru and any other real email? it seems that it's a bug with the way ...
user avatar
  • 10.8k
1 vote

How to assign the generated id to Http Request when it completes the previous response in jmeter

I suggest you to try Inter-Thread communication plugin. Extract pickup id in postprocessor in TG 1. Then put pickup id to FIFO in Inter Thread communication postprocessor. Next in TG 2 get this pick ...
user avatar
  • 111
1 vote

Selenium starts firefox but only stays on a blank page

runs fine with chromium: thufir@dur:~/NetBeansProjects/scrape$ thufir@dur:~/NetBeansProjects/scrape$ gradle run > Task :run Starting ChromeDriver 75.0.3770.90 (...
user avatar
  • 367
1 vote

Is anyone aware of any Public webserver that sends charset=SHIFT-JIS.?

I don't know of any such service, but you can easily create one. For instance, it could read POST request body encoded in UTF-8, convert it to Shift-JIS and set it back. You would need then a ...
user avatar
  • 10.4k
1 vote

How to handle multiple authentications in Selenium

You can add an extension when creating the WebDriver: options = webdriver.ChromeOptions() options.add_extension('./exampleOfExtensionDownloadedToFolder.crx') driver = webdriver.Chrome(chrome_options=...
user avatar
  • 9,949
1 vote

Automated page visit

If you want to do performance tester, selenium is not the right tool. Selenium is for functional or end-to-end tests. For test performance there are tools like jMeter or Gatling that was built for ...
user avatar
1 vote

Automated page visit

There are many tools for loading websites. From command line tools like cURL, web testing tools like the well-known Selenium to web macro recorders like Kantu with record and replay features and a "...
user avatar
  • 399
1 vote

HttpClient- Read all resources headers for all resources for entire page

When your web browser requests a URL, the response is just the page and anything embedded in the page. Your web browser parses the response, determines what other resources are referenced by the page,...
user avatar
  • 22.9k

Only top scored, non community-wiki answers of a minimum length are eligible