this videoからテストアプリケーションの例に従っています。また、以下のコマンドを使用してポート8085のACLを作成しました。私はデバッグモードでソリューションを実行するとWindows Phoneテストフレームワーク - NuGet - 新しいアプリケーションをテストする
netsh http add urlacl url=http://+:8085/ user=<mydomain>\<myusracc>
(Mydomainのとmyusraccが私の仕事のドメインとユーザーアカウントであることで)、私はエラーの下に取得しています:
There was no endpoint listening at
http://localhost:8085/phoneAutomation/automate
that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
私はSpecFlowシナリオを実行しようとしました、私はポートがliseningているかを確認するためのコマンドを実行した
App not alive - ping failed
Expected: True
But was: False
、(のnetstat -an |発見/ i "はリスニング")と8085
を見つけることができませんでした:私は例外の下に取得します私はACLを作成するために、もう一度netshコマンドを実行した場合はは、私はURLが既に存在し、次のようにリストされているというメッセージが出ます:
Reserved URL : http://+:8085/
User: <mydomain>\<myusername>
Listen: Yes
Delegate: No
SDDL: D:(A;;GX;;;S-1-5-21-xxxxxxxxxxxx-xxxxxxxxxxx-xxxxxxxxxxxxx-xxxxxxxx)