Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tsung-recorder creates unusable data #410

Open
StPanning opened this issue Apr 30, 2024 · 1 comment
Open

tsung-recorder creates unusable data #410

StPanning opened this issue Apr 30, 2024 · 1 comment

Comments

@StPanning
Copy link

Hi,
I try to use tsung to test nextcloud.
after starting with tsung-recorder start I use the proxy to log into next-cloud and navigate to several menu entries.
Tsung-recorder produces the following output:

<session name='rec20240430-1221' probability='100'  type='ts_http'>
<request><http url='nextcloud.test:443' version='1.1' method='CONNECT'></http></request>

<thinktime random='true' value='4'/>

<request><http url='' version='1.1' method='CONNECT'></http></request>

<thinktime random='true' value='22'/>

<request><http url='' version='1.1' method='CONNECT'></http></request>
<request><http url='' version='1.1' method='CONNECT'></http></request>
<request><http url='' version='1.1' method='CONNECT'></http></request>
<request><http url='' version='1.1' method='CONNECT'></http></request>
<request><http url='' version='1.1' method='CONNECT'></http></request>
<request><http url='' version='1.1' method='CONNECT'></http></request>
<request><http url='' version='1.1' method='CONNECT'></http></request>
<request><http url='' version='1.1' method='CONNECT'></http></request>
<request><http url='' version='1.1' method='CONNECT'></http></request>
<request><http url='' version='1.1' method='CONNECT'></http></request>
<request><http url='' version='1.1' method='CONNECT'></http></request>
<request><http url='' version='1.1' method='CONNECT'></http></request>

<thinktime random='true' value='6'/>

<request><http url='' version='1.1' method='CONNECT'></http></request>
[...]

As you can see, the url parameter is empty.

I expected the url to be something like:
https://nextcloud.test/index.php/apps/dashboard/

because that's what my browser dev-console puts out

The version is:
Tsung Recorder version 1.8.0

TIA

@nrmn2492
Copy link

try use SwitchyOmega Chrome plugin (https://chromewebstore.google.com/detail/proxy-switchyomega/padekgcemlokbadohgkifijomclgjgif?pli=1)

with this, you can filter out unnecessary recorder requests if you set it so that only the browser's requests go through the proxy to the given pages, URLs. this worked for me

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

No branches or pull requests

2 participants