代码:

*** Settings ***
Library    RequestsLibrary    


*** Test Cases ***    
聚合数据----手机号码归属地查询--get请求
    Create Session    telephonesearch    http://apis.juhe.cn   
    &{params}=  Create Dictionary    phone=18336008908   key=ed7965650d....9b971c9ec6fca   
    Log    ${params}    
    ${response}=  Get Request    telephonesearch    /mobile/get  params=${params}   
    Log    ${response.text}
    Log    ${response.status_code}   

  

 

运行结果:

RF接口测试----get请求

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2022-01-14
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-02
  • 2021-10-20
  • 2022-02-19
  • 2022-12-23
  • 2021-12-21
  • 2021-09-05
相关资源
相似解决方案