vsts-smoke-web-test-task's People
vsts-smoke-web-test-task's Issues
Feature suggestions
- Ability to change GET/POST
- Ability to add HTTP "header"
- Ability to analyze content of response using regex
Ignore self-signed SSL
I found that this wouldn't work on our situations (TFS on prem)
For our dev/qa we don't use a public SSL, but a local one
The error returned is:
Exception calling "GetResponse" with "0" argument(s): "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."
Adding this code helped:
Write-Host "Executing web test for $url"
add-type @"
using System.Net;
using System.Security.Cryptography.X509Certificates;
public class TrustAllCertsPolicy : ICertificatePolicy {
public bool CheckValidationResult(
ServicePoint srvPoint, X509Certificate certificate,
WebRequest request, int certificateProblem) {
return true;
}
}
"@
$AllProtocols = [System.Net.SecurityProtocolType]'Ssl3,Tls,Tls11,Tls12'
[System.Net.ServicePointManager]::SecurityProtocol = $AllProtocols
[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
from
https://stackoverflow.com/questions/11696944/powershell-v3-invoke-webrequest-https-error
Failing as a part of the release cycle
Probably because if the empty Name label and not ability to change it on Save
2017-03-03T21:38:45.2597971Z ##[section]Error: System.ArgumentException: Context name can not be null or empty.
2017-03-03T21:38:45.2597971Z Parameter name: name
2017-03-03T21:38:45.2597971Z at Microsoft.TeamFoundation.DistributedTask.Agent.Worker.Common.BaseContext..ctor(ILogContext parentContext, ILogger logger, Guid scopeId, Guid timelineId, String rootFolder, String workFolder, Boolean logToFile, String name, String type, String loggingArea)
2017-03-03T21:38:45.2597971Z at Microsoft.TeamFoundation.DistributedTask.Agent.Worker.Common.TaskContext..ctor(IJobContext jobContext, ILogger logger, Guid taskInstanceId, String taskName, IJobExtension jobExtension)
2017-03-03T21:38:45.2597971Z at Microsoft.TeamFoundation.DistributedTask.Agent.Worker.Common.JobContext.CreateTaskContext(Guid taskInstanceId, String taskName, Boolean logInitialization)
2017-03-03T21:38:45.2597971Z at Microsoft.TeamFoundation.DistributedTask.Plugin.Release.ReleaseJobExtension.InitializeTaskContexts(IJobContext context, IJobRequest job)
2017-03-03T21:38:45.2597971Z at Microsoft.TeamFoundation.DistributedTask.Plugin.Release.ReleaseJobExtension.InitializeAgent(IJobContext context, IJobRequest job, ITaskContext& downloadArtifactTaskContext, String& teamProjectId, Uri& artifactsWorkingFolder, Int32& releaseId)
2017-03-03T21:38:45.2910779Z ##[error]Context name can not be null or empty.
2017-03-03T21:38:45.2910779Z ##[error]Parameter name: name
Times out after 100 seconds
I wanted to use this script to get my website running after a fresh deployment. At times, my site takes more than 100 seconds to cold boot if there are data and schema migrations that are happening.
This smoke test Task doesn't set the timeout of the underlying web request, and results in a HTTP code of 0 if the server doesn't respond within 100 seconds.
It would be nice for it to ask for and apply a timeout value.
deprecated task execution handler
##[warning]Task 'SmokeWebTest' (1.5.0) is using deprecated task execution handler. The task should use the supported task-lib: https://aka.ms/tasklib
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.