Skip to content

Instantly share code, notes, and snippets.

@nicobrevin
Created July 27, 2010 17:35
Show Gist options
  • Save nicobrevin/492564 to your computer and use it in GitHub Desktop.
Save nicobrevin/492564 to your computer and use it in GitHub Desktop.
load_profile.xml
<?xml version="1.0"?><tsung loglevel="info">
<clients>
<client host="localhost" use_controller_vm="true" maxusers="10000"/>
</clients>
<servers>
<server port="80" type="tcp" host="staging.playlouder.com"/>
</servers>
<load>
<arrivalphase phase="1" unit="minute" duration="3">
<users unit="second" arrivalrate="200"/>
</arrivalphase>
</load>
<options>
<option id="search_queries" name="file_server" value="data/medium_queries.txt"/>
<option id="logins" name="file_server" value="data/logins.txt"/>
<option id="logins_playlist" name="file_server" value="data/logins-random-playlist.txt"/>
<option id="releases" name="file_server" value="data/random_releases.txt"/>
<option id="artists" name="file_server" value="data/random_artists.txt"/>
<option id="labels" name="file_server" value="data/random_labels.txt"/>
<option id="playlists" name="file_server" value="data/random_playlists.txt"/>
<option id="tracks" name="file_server" value="data/random_tracks.txt"/>
<option id="recordings" name="file_server" value="data/random_recordings.txt"/>
<option id="tracks_json" name="file_server" value="data/random_track_jsons.txt"/>
<option id="tags" name="file_server" value="data/random_tags.txt"/>
<option id="users" name="file_server" value="data/random_users.txt"/>
<option id="posts" name="file_server" value="data/posts.txt"/>
<option id="taggings" name="file_server" value="data/taggings.txt"/>
<option id="words" name="file_server" value="data/words.txt"/>
</options>
<sessions>
<session name="session_sid" type="ts_http" probability="24.9">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/session/sid" version="1.0" method="GET">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="highest_version" type="ts_http" probability="8.9">
<setdynvars sourcetype="file" fileid="artists" order="random" delimiter=",">
<var name="artist_uri"/>
<var name="artist_id"/>
<var name="artist_hex"/>
</setdynvars>
<request subst="true">
<http url="/social/feeds/wall/%%_artist_id%%/unread/highest_version" version="1.0" method="GET">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="wall_feed" type="ts_http" probability="7.1">
<setdynvars sourcetype="file" fileid="artists" order="random" delimiter=",">
<var name="artist_uri"/>
<var name="artist_id"/>
<var name="artist_hex"/>
</setdynvars>
<request subst="true">
<http url="/social/feeds/wall/%%_artist_id%%/range/0-10" version="1.0">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="post-tokens" type="ts_http" probability="9.9">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="tracks" order="random" delimiter=",">
<var name="track_uri"/>
<var name="track_id"/>
<var name="track_hex"/>
</setdynvars>
<request subst="true">
<dyn_variable name="usage_uri" jsonpath="catalog_event.uri"/>
<http version="1.0" url="/%%_track_uri%%/tokens" method="POST" content_type="application/vnd.msp.usage.token+json" contents="{&quot;media_type&quot;:&quot;application/vnd.msp.usage.token&quot;,&quot;sid&quot;:&quot;%%_session_user_sid%%&quot;}">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
<request subst="true">
<http method="PUT" content_type="application/json" contents="&quot;0.6&quot;" url="%%_usage_uri%%/property/max_position"/>
</request>
</session>
<session name="put-play-queue" type="ts_http" probability="5.0">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="tracks_json" order="random" delimiter="|">
<var name="tracks_json"/>
</setdynvars>
<request subst="true">
<http version="1.0" url="/session/stash/play_queue" method="PUT" content_type="application/vnd.msp.collection+json" contents="{&quot;media_type&quot;:&quot;application/vnd.msp.collection&quot;, &quot;items&quot;:%%_tracks_json%%}">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-cmd-tags" type="ts_http" probability="4.2">
<setdynvars sourcetype="file" fileid="artists" order="random" delimiter=",">
<var name="artist_uri"/>
<var name="artist_id"/>
<var name="artist_hex"/>
</setdynvars>
<request subst="true">
<http url="/community_metadata/user_items/%%_artist_hex%%/property/tags/range/0-10">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-cmd-full" type="ts_http" probability="4.2">
<setdynvars sourcetype="file" fileid="artists" order="random" delimiter=",">
<var name="artist_uri"/>
<var name="artist_id"/>
<var name="artist_hex"/>
</setdynvars>
<request subst="true"><http url="/community_metadata/user_items/%%_artist_hex%%/version/full">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http></request>
</session>
<session name="search" type="ts_http" probability="3.2">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="search_queries" order="random" delimiter="\n">
<var name="a_query"/>
</setdynvars>
<request subst="true">
<http version="1.0" url="/search/query/%%_a_query%%" method="GET">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="artist_cmd" type="ts_http" probability="1.8">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="artists" order="random" delimiter=",">
<var name="artist_uri"/>
<var name="artist_id"/>
<var name="artist_hex"/>
</setdynvars>
<request subst="true">
<http url="/%%_artist_uri%%/version/community_metadata">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get_users_playlists" type="ts_http" probability="1.7">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/ugc/playlists/by_user/%%_session_user_id%%/range/0-7">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get_release_cmd" type="ts_http" probability="1.2">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="releases" order="random" delimiter=",">
<var name="release_uri"/>
<var name="release_id"/>
<var name="release_hex"/>
</setdynvars>
<request subst="true">
<http url="/%%_release_uri%%/version/community_metadata">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="put-playlist-tracks" type="ts_http" probability="1.2">
<setdynvars sourcetype="file" fileid="logins_playlist" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
<var name="session_user_playlist"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="tracks_json" order="random" delimiter="|">
<var name="tracks_json"/>
</setdynvars>
<request subst="true">
<http version="1.0" url="/%%_session_user_playlist%%/property/tracks" method="PUT" content_type="application/vnd.msp.collection+json" contents="{&quot;media_type&quot;:&quot;application/vnd.msp.collection&quot;, &quot;items&quot;:%%_tracks_json%%}">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="playlist-cmd" type="ts_http" probability="1.1">
<setdynvars sourcetype="file" fileid="logins_playlist" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
<var name="session_user_playlist"/>
</setdynvars>
<request subst="true">
<http url="/%%_session_user_playlist%%/version/community_metadata">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="playlist-full" type="ts_http" probability="1.1">
<setdynvars sourcetype="file" fileid="logins_playlist" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
<var name="session_user_playlist"/>
</setdynvars>
<request subst="true">
<http url="/%%_session_user_playlist%%/version/full">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="recording-cmd" type="ts_http" probability="1.1">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="recordings" order="random" delimiter=",">
<var name="recording_uri"/>
<var name="recording_id"/>
<var name="recording_hex"/>
</setdynvars>
<request subst="true">
<http url="/%%_recording_uri%%/version/community_metadata">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-stash-recording" type="ts_http" probability="1.0">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="recordings" order="random" delimiter=",">
<var name="recording_uri"/>
<var name="recording_id"/>
<var name="recording_hex"/>
</setdynvars>
<request subst="true">
<http url="/session/stash/recordings/member/%%_recording_id%%">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get_followed" type="ts_http" probability="1.0">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/social/follow/%%_session_user_id%%/followed/range/all">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-stash-playlists" type="ts_http" probability="0.9">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/session/stash/playlists/range/all">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="post-sid" type="ts_http" probability="0.9">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/session/sid" method="POST" content_type="application/json" contents="{&quot;sid&quot;: &quot;%%_session_user_sid%%&quot;}">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-play-queue" type="ts_http" probability="0.9">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/session/stash/play_queue/range/all">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-follows-users" type="ts_http" probability="0.9">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/social/follow/%%_session_user_id%%/followed/users/range/0-5">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-settings" type="ts_http" probability="0.9">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/session/settings/version/full">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-follows-labels" type="ts_http" probability="0.8">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/social/follow/%%_session_user_id%%/followed/labels/range/0-5">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-session" type="ts_http" probability="0.8">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/session">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-user-cmd" type="ts_http" probability="0.8">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/users/%%_session_user_hex%%/version/community_metadata">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-release-uri" type="ts_http" probability="0.8">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="releases" order="random" delimiter=",">
<var name="release_uri"/>
<var name="release_id"/>
<var name="release_hex"/>
</setdynvars>
<request subst="true">
<http url="/%%_release_uri%%/version/partial">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-followed-artists" type="ts_http" probability="0.7">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/social/follow/%%_session_user_id%%/followed/artists/range/0-5">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-stashed-artists" type="ts_http" probability="0.6">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/session/stash/artists/range/all">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-stashed-releases" type="ts_http" probability="0.6">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/session/stash/releases/range/all">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-tags" type="ts_http" probability="0.6">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/community_metadata/tags/popular/range/0-17">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-releases-random" type="ts_http" probability="0.6">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/catalog/releases/random/range/0-5">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-tracks-recently-played" type="ts_http" probability="0.6">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/catalog/tracks/recently_played/range/0-5">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-tag-full" type="ts_http" probability="0.6">
<setdynvars sourcetype="file" fileid="tags" order="random" delimiter=",">
<var name="tag_uri"/>
<var name="tag_id"/>
<var name="tag_hex"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/%%_tag_uri%%/version/full">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-editorial-releases" type="ts_http" probability="0.5">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/editorial/releases/latest/range/0-3">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="post-post" type="ts_http" probability="0.5">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" delimiter="|" fileid="posts" order="random">
<var name="post_text"/>
</setdynvars>
<request subst="true">
<http version="1.0" url="/social/posts" content_type="application/vnd.msp.social.post+json" contents="{&quot;references&quot;:[], &quot;body&quot;:&quot;%%_post_text%%&quot;, &quot;media_type&quot;:&quot;application/vnd.msp.social.post&quot;}" method="POST"><http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/></http>
</request>
</session>
<session name="get-follow-feed" type="ts_http" probability="0.5">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/social/feeds/follow/%%_session_user_id%%/range/0-9">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-stash-tracks" type="ts_http" probability="0.5">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/session/stash/tracks/range/all">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-playlists-random" type="ts_http" probability="0.5">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/ugc/playlists/random/range/0-3">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-follow-recently-played" type="ts_http" probability="0.4">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/social/follow/%%_session_user_id%%/recently_played/range/0-5">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-stash-releases-member" type="ts_http" probability="0.4">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="releases" order="random" delimiter=",">
<var name="release_uri"/>
<var name="release_id"/>
<var name="release_hex"/>
</setdynvars>
<request subst="true">
<http url="/session/stash/releases/member/%%_release_id%%">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="users-version-full" type="ts_http" probability="0.4">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="users" order="random" delimiter=",">
<var name="user_uri"/>
<var name="user_id"/>
<var name="user_hex"/>
</setdynvars>
<request subst="true">
<http url="/%%_user_uri%%/version/full">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="social-follow-followed_by" type="ts_http" probability="0.4">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/social/follow/%%_session_user_id%%/followed_by/range/0-5">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="editorial-playlists-latest" type="ts_http" probability="0.4">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/editorial/playlists/latest/range/0-4">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="taggings" type="ts_http" probability="0.3">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="artists" order="random" delimiter=",">
<var name="artist_uri"/>
<var name="artist_id"/>
<var name="artist_hex"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="taggings" order="random" delimiter="|">
<var name="json"/>
</setdynvars>
<request subst="true">
<http url="/community_metadata/user_items/%%_artist_hex%%/property/tags" method="PUT" content_type="application/vnd.msp.collection+json" contents="%%_json%%">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="usage-stats-top_tracks" type="ts_http" probability="0.3">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/usage/stats/top_tracks/range/0-9">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="put-rating" type="ts_http" probability="0.2">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="releases" order="random" delimiter=",">
<var name="release_uri"/>
<var name="release_id"/>
<var name="release_hex"/>
</setdynvars>
<request subst="true">
<http url="/community_metadata/user_items/%%_release_hex%%/property/rating" method="PUT" content_type="application/json" contents="1">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="post-tags" type="ts_http" probability="0.2">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="words" order="random" delimiter="|">
<var name="word"/>
</setdynvars>
<request subst="true">
<http url="/community_metadata/tags/create_multiple" content_type="application/json" contents="[{&quot;title&quot;:&quot;%%_word%%&quot;,&quot;meta_type&quot;:&quot;application/vnd.msp.community_metadata.tag&quot;}]" method="POST">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="put-follow-member" type="ts_http" probability="0.2">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="artists" order="random" delimiter=",">
<var name="artist_uri"/>
<var name="artist_id"/>
<var name="artist_hex"/>
</setdynvars>
<request subst="true">
<http url="/social/follow/%%_session_user_id%%/followed/member/%%_artist_id%%" method="PUT" content_type="application/json" contents="true">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="persist-play-queue" type="ts_http" probability="0.2">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/session/settings/property/persist_play_queue">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-label" type="ts_http" probability="0.2">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="labels" order="random" delimiter=",">
<var name="label_uri"/>
<var name="label_id"/>
<var name="label_hex"/>
</setdynvars>
<request subst="true">
<http url="/%%_label_uri%%/version/community_metadata">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="update-playlist" type="ts_http" probability="0.2">
<setdynvars sourcetype="file" fileid="logins_playlist" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
<var name="session_user_playlist"/>
</setdynvars>
<request subst="true">
<http url="/%%_session_user_playlist%%" content_type="application/vnd.msp.ugc.playlist+json" method="PUT" contents="{&quot;title&quot;: &quot;updated&quot;, &quot;media_type&quot;: &quot;application/vnd.msp.ugc.playlist&quot;}">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get_label_artists" type="ts_http" probability="0.2">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="labels" order="random" delimiter=",">
<var name="label_uri"/>
<var name="label_id"/>
<var name="label_hex"/>
</setdynvars>
<request subst="true">
<http url="/%%_label_uri%%/property/artists/range/0-3">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="login" type="ts_http" probability="0.2">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http version="1.0" url="/session" method="POST" content_type="application/vnd.msp.session+json" contents="{&quot;login&quot;:&quot;%%_session_user_login%%&quot;,&quot;password&quot;:&quot;%%_session_user_login%%&quot;,&quot;media_type&quot;:&quot;application/vnd.msp.session&quot;}">
</http>
</request>
</session>
<session name="get-tag-artists" type="ts_http" probability="0.2">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="tracks_json" order="random" delimiter="|">
<var name="tracks_json"/>
</setdynvars>
<request subst="true">
<http url="/session/stash/tracks/member/add_multiple" method="POST" content_type="application/json" contents="%%_tracks_json%%">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="download-playlist" type="ts_http" probability="0.2">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="playlists" order="random" delimiter=",">
<var name="playlist_uri"/>
<var name="playlist_id"/>
<var name="playlist_hex"/>
</setdynvars>
<request subst="true">
<http url="/session/downloads/playlists" method="POST" content_type="application/x-www-form-urlencoded" contents="id=%%_playlist_id%%&amp;nonce=download_1234">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-user-top-tracks" type="ts_http" probability="0.2">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/users/%%_session_user_hex%%/property/top_tracks/range/0-5">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-playlist-member" type="ts_http" probability="0.2">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="playlists" order="random" delimiter=",">
<var name="playlist_uri"/>
<var name="playlist_id"/>
<var name="playlist_hex"/>
</setdynvars>
<request subst="true">
<http url="/session/stash/playlists/member/%%_playlist_id%%">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-tag-artists" type="ts_http" probability="0.2">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="tags" order="random" delimiter=",">
<var name="tag_uri"/>
<var name="tag_id"/>
<var name="tag_hex"/>
</setdynvars>
<request subst="true">
<http url="/community_metadata/tags/%%_tag_hex%%/property/tagged_artists/range/0-7">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="post-playlist" type="ts_http" probability="0.1">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="words" order="random" delimiter="|">
<var name="word"/>
</setdynvars>
<request subst="true">
<http url="/ugc/playlists" method="POST" content_type="application/vnd.msp.ugc.playlist+json" contents="{&quot;media_type&quot;:&quot;application/vnd.msp.ugc.playlist&quot;,&quot;title&quot;:&quot;%%_word%%&quot;}">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="create-user" type="ts_http" probability="0.1">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="random_string" length="7">
<var name="title"/>
</setdynvars>
<request subst="true">
<http url="/users" method="POST" content_type="application/vnd.msp.user+json" contents="{&quot;media_type&quot;:&quot;application/vnd.msp.user&quot;,&quot;title&quot;:&quot;%%_title%%&quot;,&quot;password&quot;:&quot;%%_title%%1&quot;,&quot;email&quot;:&quot;%%_title%%@web.com&quot;}">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="search-for-user" type="ts_http" probability="0.1">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="random_string" length="5"><var name="string"/></setdynvars>
<request subst="true">
<http url="/users/by_title/%%_string%%">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-artist-radio-range" type="ts_http" probability="0.1">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="artists" order="random" delimiter=",">
<var name="artist_uri"/>
<var name="artist_id"/>
<var name="artist_hex"/>
</setdynvars>
<request subst="true">
<http url="/radio/entity/%%_artist_id%%/range/0-9">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-artist-recordings" type="ts_http" probability="0.1">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="artists" order="random" delimiter=",">
<var name="artist_uri"/>
<var name="artist_id"/>
<var name="artist_hex"/>
</setdynvars>
<request subst="true">
<http url="/%%_artist_uri%%/property/recordings/range/0-9">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-latest-users" type="ts_http" probability="0.1">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/users/latest/range/0-5">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-follow-suggestions" type="ts_http" probability="0.1">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/social/follow/%%_session_user_id%%/suggest/users/by_following/range/0-2">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-feeds-latest" type="ts_http" probability="0.1">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/social/feeds/latest/range/0-4">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-users-popular" type="ts_http" probability="0.1">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="/users/popular/range/0-5">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="search-for-users" type="ts_http" probability="0.1">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="random_string" length="5"><var name="string"/></setdynvars>
<request subst="true">
<http url="/search/query/type/users/%%_string%%/range/0-2">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="get-label-releases" type="ts_http" probability="0.1">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<setdynvars sourcetype="file" fileid="labels" order="random" delimiter=",">
<var name="label_uri"/>
<var name="label_id"/>
<var name="label_hex"/>
</setdynvars>
<request subst="true">
<http url="/catalog/labels/%%_label_hex%%/property/releases/range/0-5">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
<session name="dummy" type="ts_http" probability="0.6">
<setdynvars sourcetype="file" fileid="logins" order="random" delimiter=",">
<var name="session_user_login"/>
<var name="session_user_uri"/>
<var name="session_user_id"/>
<var name="session_user_hex"/>
<var name="session_user_sid"/>
<var name="session_user_cookie"/>
</setdynvars>
<request subst="true">
<http url="">
<http_header name="Cookie" value="msp_session=%%_session_user_cookie%%"/>
</http>
</request>
</session>
</sessions>
</tsung>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment