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
foreach (WebTestRequest r in e.Request.DependentRequests)
{
// Disable parsing on dependents since we cannot filter those
r.ParseDependentRequests = false;
if (m_exclude)
{
if (regex.IsMatch(r.Url))
......@@ -150,6 +152,8 @@ namespace LIL_VSTT_Plugins
foreach (WebTestRequest r in e.Request.DependentRequests)
{
// Disable parsing on dependents since we cannot filter those
r.ParseDependentRequests = false;
if (!string.IsNullOrEmpty(m_startsWith) &&
r.Url.StartsWith(m_startsWith))
{
......@@ -197,6 +201,8 @@ namespace LIL_VSTT_Plugins
foreach (WebTestRequest r in e.Request.DependentRequests)
{
// Disable parsing on dependents since we cannot filter those
r.ParseDependentRequests = false;
if (!string.IsNullOrEmpty(m_startsWith) &&
!r.Url.StartsWith(m_startsWith))
{
......