You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having some segfaults with FastHttpUser, and to fast track to a working version I'm switching the generated file to HttpUser for it not to segfault.
I then need to replace all self.rest( with self.client.request( for the locustfile to work.
Would it be possible to have an option for this ? I know this can probably be done with a template, but this might interest some other users.
(oh and by the way, I ♥ har2locust, it's really awesome for my use case! )
The text was updated successfully, but these errors were encountered:
The rest part is easy (even though rest should work for HttpUser too in more recent locust versions?). Just add --disable-plugin rest.py to your command line.
It would be interesting to see your segfaults too (or rather, your environment. if you have a locally built geventhttpclient then maybe try installing a binary one)
I'm having some segfaults with FastHttpUser, and to fast track to a working version I'm switching the generated file to HttpUser for it not to segfault.
I then need to replace all
self.rest(
withself.client.request(
for the locustfile to work.Would it be possible to have an option for this ? I know this can probably be done with a template, but this might interest some other users.
(oh and by the way, I ♥ har2locust, it's really awesome for my use case! )
The text was updated successfully, but these errors were encountered: