Opened 8 years ago

Last modified 5 years ago

#15102 closed defect

Mock HTTP unit tests — at Version 1

Reported by: Don-vip Owned by: Don-vip
Priority: normal Milestone: 17.08
Component: Unit tests Version:
Keywords: http mock Cc:

Description (last modified by Don-vip)

We have several unit tests making real HTTP connections to real servers.
This causes quite a lot of problems:

  • HTTP connections are slow
  • Unit tests do not work without Internet access
  • Frequent fake regressions on Jenkins when a website is unavailable or does not respond in the allowed timeout

We should mock the HTTP answers to improve build reliability and performance.

Several solutions are listed on StackOverflow

Change History (1)

comment:1 by Don-vip, 8 years ago

Description: modified (diff)
Owner: changed from team to Don-vip
Status: newassigned
Note: See TracTickets for help on using tickets.