投稿

ラベル(jenkins)が付いた投稿を表示しています

postman + newman + jenkins on Windows10

イメージ
 webapiをpostmanとnewmanを使ってテストし、Jenkinsで自動化できるか確認した。  newmanのコマンドは、以下の通り。 F:\etc>newman run gettest.postman_collection.json -e local.postman_environment.json newman gettest → getValues-0   GET http://localhost:64587/api/values?id=0 [304 Not Modified, 295B, 106ms]   1. Status code is 200 → getValues-1   GET http://localhost:64587/api/values?id=1 [200 OK, 358B, 7ms]   √  Status code is 200 → postValues-title-ok   POST http://localhost:64587/api/values [200 OK, 355B, 8ms]   √  Status code is 200 → postValues-title-non   POST http://localhost:64587/api/values [304 Not Modified, 295B, 44ms]   2. Status code is 200 ┌─────────────────────────┬───────────────────┬──────────────────┐ │                         │          executed │       ...