Great! I am a performance test engineer. I just have an idea to develop a performance test tool by python, just like OpenSTA, LoadRunner etc. I search in google and find your blog, great! It is very helpful, thank you!
Goldberg, I just started using this tool. It is fairly simple to setup and very easy to develop test cases with XML wrapper. Thanks a lot for providing such a wonderful tool.
However I have an issue,
I tried setting add_header to simulate required user-agent (browsers)
add_header>User-Agent: Mozilla/5.0 (Windows; U;Windows NT 5.1;en-US;rv:1.8.1.17) Gecko/20080829 Firefox/2.0.0.17\r\n "lt"/add_header"gt"
Removed "> < symbols" to post the code here
however, tool sets user-agent with a truncated value in the req
user-agent: Mozilla/5.0 (Windows; U;Windows NT 5.1;en-US; rv\r\n
just copied header content from a sniffer tool. it is the culprit! I apologize for it.I could have tried without those before asking you.
However, how can i use the browser recorder to avoid such prob in the future? I get erro while running the recorder
C:\Program Files\pylot_1.11\lib>python pylot_recorder.py Traceback (most recent call last): File "pylot_recorder.py", line 26, in "lt"module> from win32com.client import Dispatch, WithEvents ImportError: No module named win32com.client
PS : Is this the right forum to seek support on pylot? Else guide me to correct forum
6 comments:
Great!
I am a performance test engineer. I just have an idea to develop a performance test tool by python, just like OpenSTA, LoadRunner etc.
I search in google and find your blog, great! It is very helpful, thank you!
Thanks!
I'm always looking for contributors. Let me know if you want to help in an way.
Goldberg,
I just started using this tool. It is fairly simple to setup and very easy to develop test cases with XML wrapper. Thanks a lot for providing such a wonderful tool.
However I have an issue,
I tried setting add_header to simulate required user-agent (browsers)
add_header>User-Agent: Mozilla/5.0 (Windows; U;Windows NT 5.1;en-US;rv:1.8.1.17) Gecko/20080829 Firefox/2.0.0.17\r\n "lt"/add_header"gt"
Removed "> < symbols" to post the code here
however, tool sets user-agent with a truncated value in the req
user-agent: Mozilla/5.0 (Windows; U;Windows NT 5.1;en-US; rv\r\n
am i missing something here?
thanks
jp
@jp:
it is probably a bug.. I will investigate it.
also, why are you putting carriage returns and line feeds in your user agent string?
-Corey
Corey
just copied header content from a sniffer tool. it is the culprit! I apologize for it.I could have tried without those before asking you.
However, how can i use the browser recorder to avoid such prob in the future?
I get erro while running the recorder
C:\Program Files\pylot_1.11\lib>python pylot_recorder.py
Traceback (most recent call last):
File "pylot_recorder.py", line 26, in "lt"module>
from win32com.client import Dispatch, WithEvents
ImportError: No module named win32com.client
PS : Is this the right forum to seek support on pylot? Else guide me to correct forum
regards
jp
@jp
glad you got your problem solved.
this isnt the best place to ask questions. you can email me directly if u want.. contact info is at the top of the page.
Post a Comment