首页 > 其他分享 >API测试

API测试

时间:2023-04-29 16:44:17浏览次数:33  
标签:fsl5gV4kmjWT0ponjk ++ c++ API 测试 序列化

仍然不行。这是前端函数序列化后的提交的完整的xml数据

<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
  <methodName>metaWeblog.newMediaObject</methodName>
  <params>
    <param>
      <value>
        <string>188840</string>
      </value>
    </param>
    <param>
      <value>
        <string>lywon</string>
      </value>
    </param>
    <param>
      <value>
        <string>1C2379AB79E66480E8C9ED4A75BE80D3F66571C989D2EAC93557BA77DAA03B1A</string>
      </value>
    </param>
    <param>
      <value>
        <struct>
          <member>
            <name>base64</name>
            <value>
              <string>/9j/2wCEAAICAgICAgICAgIDAgICAwQDAgIDBAUEBAQEBAUGBQUFBQUFBgYHBwgHBwYJCQoKCQkMDAwMDAwMDAwMDAwMDAwBAwMDBQQFCQYGCQ0LCQsNDw4ODg4PDwwMDAwMDw8MDAwMDAwPDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDP/dAAQADf/uAA5BZG9iZQBkwAAAAAH/wAARCABkAGQDABEAAREBAhEB/8QAmQAAAgMAAwEBAAAAAAAAAAAABgcFCAkCAwQKAAEAAQUBAQAAAAAAAAAAAAAABAIDBQYHAQAQAAIBAwMDAgUDAwQBBQAAAAECAwQFEQAGIQcSMRNBCBQiUWEjMnEVQoEWUpGxJRckcsHhEQACAgEDAwIEBQQDAQAAAAABAgADEQQSIQUxQVFhBhMUIjJxgZGxI0Kh0SRi4cH/2gAMAwAAARECEQA/AGDZxlUA4PGsF1XcTe0OYYIMD7ZGMf50NiItrDTzXTdNm27TCovNyhoFbPptI3aCEHP8Aa6KWs4QEmCPXj8ohNz/ABddMtvNVQUM9z3DWU4GKelpAKaQnnIqS/YP+9TWm+FtbbhtoAPr/qRl/UKKvf8AKV33T8b+96uH0dqW2OxyEFXq6zsnMbE/T2oFH7RgqWJ988eJ7S/B6A5uJIHoMSKu6qpH2KIvI/jd6zRmnarqbdOIcev3U4jM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jEHMOLTZ2uI9BPpZ/3OecL/uOnUoNjBR5g2o1IoXd+0N56WltlFDbqJe0Bsu58lj5Zj7k6sFNFda7V7yrXXNadzSJpqSFK5jKwRGQyyNjOO3A7uNOMMRskngTqq7GrGqihkxFI5amnRQxKOM57TwM8jn86YYZEeBKiCa9PqBO706ms7nYtM8JRVZz5YgqecY8aa+nz2Ajn1NnqZ//0wFOU591zrMR3m0t2nQ6KFHGcn30SDnEFc5MgqylhEhIX2B05FA4WTNAg9Snh57JJERh+GYA/wDevHxElziXmsHTPadsv1spaWjcNcEDy1jMDOhMZJ9N+36MhO049ifc51YNPoalGQOZUNX1G455j4paCGio7bQRtJLDCgRDK3cwCrkDOB48DU/pV29pX7HJ5hXaUSfvpJ0Wenxj0ZB3Lj/OpE1q6EMMyNa1qfuTg5njvdnorbUU/wAorIsiBghOQvvhSecfydQWqqVDke0sfTr2try0YNhgjp7NBURj9aqLGZzyePGP41J6NAEDY5MieoWM1uCeBPJJmWp/UJfByM6MXvI950T4AuBAGVjjQfwzgHXrThY6gywE41mYEqZIycxRd6AngFcnx+SOdCA4j1qgYiyr71cJZY5jN2maMOUXhVySMKPtxpW8xmf/2Q==</string>
            </value>
          </member>
          <member>
            <name>name</name>
            <value>
              <string>testFanbingbing.jpg</string>
            </value>
          </member>
          <member>
            <name>type</name>
            <value>
              <string>image/jpeg</string>
            </value>
          </member>
        </struct>
      </value>
    </param>
  </params>
</methodCall>

标签:fsl5gV4kmjWT0ponjk,++,c++,API,测试,序列化
From: https://www.cnblogs.com/lywon/p/17364207.html

相关文章

  • 声明式API
    YAML文件,是Kubernetes声明式API所必须具备的一个要素一、声明式API的工作原理在Kubernetes项目中,一个API对象在Etcd里的完整资源路径,是由:Group(API组)、Version(API版本)和Resource(API资源类型)三个部分组成的。 Kubernetes对API对象的解析1apiVersion:batch/v......
  • 记一次sql注入测试
    SQL注入是通过在用户可控参数中注入SQL语法,破坏原有SQL结构,达到编写程序时意料之外结果的攻击行为。常见SQL注入语句$username=1'or'1'='1$password=1'or'1'='1$username=1'or'1'='1'))/*$password=foohttp://192.168.254.132/sqli-labs/Less-1/?i......
  • 商品详情API接口如何获取淘宝数据
    淘宝是中国最大最受欢迎的电商平台之一,汇集了大量的商家和买家。在淘宝上热门商品的销量经常十分巨大,因此有些开发者和网站想要获取淘宝商品数据来进行一些分析。下面是一篇关于淘宝商品详情API接口获取淘宝数据的文章。一、淘宝商品API接口介绍淘宝开放了API接口,允许开发者获取淘......
  • 大数据学习初级入门教程(十六) —— Hadoop 3.x 完全分布式集群的安装、启动和测试
    好久没用Hadoop集群了,参考以前写的《大数据学习初级入门教程(一)——Hadoop2.x完全分布式集群的安装、启动和测试_孟郎郎的博客》和《大数据学习初级入门教程(十二)——Hadoop2.x集群和Zookeeper3.x集群做集成_孟郎郎的博客-》,下载了目前官网最新的版本 hadoop-3.3.5再......
  • 自动化测试工具自动化工具Pyautogui和Pywinauto详细介绍和使用
    自动化测试工具介绍和使用PC端应用程序自动化测试——pywinauto、pywin32、pyautogui详解Python中pyautogui库的最全使用方法自动化测试工具自动化工具Pyautogui和Pywinauto详细介绍和使用   1、自动化测试工具介绍和使用一.Pywinauto库的介绍二、pyautogui库的......
  • Win32 API从磁盘文件图片创建工具栏图标
    关键字:Win32API从磁盘,文件,图片创建工具栏图标,包含提示文字。编译命令:g++demo01.cpp-mwindows-lcomctl32-ldwmapi-odemo01-static-Wall-std=c++11#defineUNICODE#include<Windows.h>#include<strsafe.h>#include<commctrl.h>/******CALLBACK代表__stdcall......
  • 注册功能测试用例
    PC端注册界面往往需要输入用户名、密码、验证码,通用的注册测试用例有以下几点:需求:(1)账号:必填,11位手机号进行注册(2)验证码:必填,系统生成4位验证码(3)用户名:可以为空,4-16位字符串(可以重复)(4)密码:必填,6-12位,由(字母、数字)组成,允许含特殊符号测试点用例标题操作步骤预期......
  • 插入随机/跟随鼠标/点击一次即消失/漂浮图片(ie测试通过)
    //跟随方法比document.click不足之处:当出现cpu占用过高时,会出现跟随不上现象,导致此次点击并不能弹出窗口varimgs=newArray("http://www.google.cn/intl/zh-CN/images/logo_cn.gif","http://hp.tom.com/images/logo.gif","htt......
  • 登录功能常用测试用例
    PC端登录界面往往需要输入用户名、密码、验证码,通用的登录测试用例有以下几点:测试点用例标题操作步骤预期结果正常登录输入正确的用户名和正确的密码,检查登录情况1、输入正确的用户名2、输入正确的密码3、输入验证码4、点击【登录】成功登录正常登录检验Tab键......
  • ETL数据仓测试如何测试
     在我们了解ETL测试之前,先了解有关商业智能和数据仓库的重要性。让我们开始吧-什么是BI?商业智能是收集原始数据或业务数据并将其转化为有用和更有意义的信息的过程。原始数据是一个组织每日事务的记录,如与客户的互动,财务管理和员工管理等。这些数据将用于“报告,分析,数据挖掘,......