Commit 0f8854a0 0f8854a0f961713f2fa62f3b42fba5e9b3492d82 by Christian Gerdes

Dynamisk filter plugins: Sätter parse till false på alla dependents eftersom des…

…sa inte kan filtreras
1 parent d718cd74
...@@ -99,6 +99,8 @@ namespace LIL_VSTT_Plugins ...@@ -99,6 +99,8 @@ namespace LIL_VSTT_Plugins
99 99
100 foreach (WebTestRequest r in e.Request.DependentRequests) 100 foreach (WebTestRequest r in e.Request.DependentRequests)
101 { 101 {
102 // Disable parsing on dependents since we cannot filter those
103 r.ParseDependentRequests = false;
102 if (m_exclude) 104 if (m_exclude)
103 { 105 {
104 if (regex.IsMatch(r.Url)) 106 if (regex.IsMatch(r.Url))
...@@ -150,6 +152,8 @@ namespace LIL_VSTT_Plugins ...@@ -150,6 +152,8 @@ namespace LIL_VSTT_Plugins
150 152
151 foreach (WebTestRequest r in e.Request.DependentRequests) 153 foreach (WebTestRequest r in e.Request.DependentRequests)
152 { 154 {
155 // Disable parsing on dependents since we cannot filter those
156 r.ParseDependentRequests = false;
153 if (!string.IsNullOrEmpty(m_startsWith) && 157 if (!string.IsNullOrEmpty(m_startsWith) &&
154 r.Url.StartsWith(m_startsWith)) 158 r.Url.StartsWith(m_startsWith))
155 { 159 {
...@@ -197,6 +201,8 @@ namespace LIL_VSTT_Plugins ...@@ -197,6 +201,8 @@ namespace LIL_VSTT_Plugins
197 201
198 foreach (WebTestRequest r in e.Request.DependentRequests) 202 foreach (WebTestRequest r in e.Request.DependentRequests)
199 { 203 {
204 // Disable parsing on dependents since we cannot filter those
205 r.ParseDependentRequests = false;
200 if (!string.IsNullOrEmpty(m_startsWith) && 206 if (!string.IsNullOrEmpty(m_startsWith) &&
201 !r.Url.StartsWith(m_startsWith)) 207 !r.Url.StartsWith(m_startsWith))
202 { 208 {
......