Skip to content

JSONDecodeError Running Example #19

Description

@mjlabe

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

  • v1.5.2 was installed, but running the example downloads 0.10.1:
    DOWNLOADING HOVERFLY FROM https://github.com/SpectoLabs/hoverfly/releases/download/v0.10.1/hoverfly_bundle_linux_amd64.zip TO /tmp/tmpm9e2399d

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions