python - Multiple Threads doing different operations in a single Grinder Script -
i want create script in if http request being executed e.g, have played voicefile using http operation play() defined in code. in mean time when file getting played , want pause() operation called can pause file being played.
the problem facing that, http request play getting hit, script gets control after successful/failure execution of play() i.e. when complete play operation has been completed due pause operation returns failure because there isn't file getting played currently.
i can't use 2 scripts because both use same data (call-id)
any on highly appreciated.
thanks in advance.
more detail helpful. information thread need before can construct valid pause request? thread sends play request write information module-level data structure? thread doing pause read information , build valid request.
Comments
Post a Comment