-
Hello there, I'd like to know if tere is a way to mock a FROST-Server using tools like Postman? My idea is to have an testing endpoint for developing API clients. BR, |
Beta Was this translation helpful? Give feedback.
Answered by
hylkevds
Aug 16, 2022
Replies: 1 comment 1 reply
-
Mocking the SensorThings API is probably not easy, given the large number of possible URLs that are used. It's probably easier to start a FROST-Server as part of the test, and use a Batch-request to import a test dataset. For Java, dotNet, Python, Go and Rust test environments this could easily be done using Testcontainers |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mikedolx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mocking the SensorThings API is probably not easy, given the large number of possible URLs that are used. It's probably easier to start a FROST-Server as part of the test, and use a Batch-request to import a test dataset.
For Java, dotNet, Python, Go and Rust test environments this could easily be done using Testcontainers