Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

Is there an option to test real http requests? #113

Open
addorange opened this issue May 20, 2019 · 1 comment
Open

Is there an option to test real http requests? #113

addorange opened this issue May 20, 2019 · 1 comment

Comments

@addorange
Copy link

Hi there,

I am looking for an option to test real http requests like posting to a specific url and checking the database afterwards. Is there any option to make this happen with TYPO3/Extbase or the current testing-framework?

Cheers

Christian

@mbrodala
Copy link
Contributor

Well, you could use e.g. the RequestFactory to perform a real HTTP request and then use the regular DB API to do your checks. If you want to do this from a functional test case you could use $this->getInstancePath() to get the web path (where index.php lies) to the test instance for that test.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants