SpectoLabs / hoverpy

Python library for Hoverfly (now obsolete)
Apache License 2.0
79 stars 9 forks source link

JSONDecodeError Running Example #19

Open mjlabe opened 1 year ago

mjlabe commented 1 year ago

Running the basic example raises a JSONDecodeError.

Traceback (most recent call last):
  File "/src/controller.py", line 10, in <module>
  simData = requests.get("http://time.jsontest.com/").json()
  File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 975, in json
  raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
  requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

hoverfly v1.5.2* hoverpy 0.2.2