51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 5214|回复: 7
打印 上一主题 下一主题

[原创] 请问将图片或是一些二进制类型的数据插入到oracle?

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2010-1-15 11:46:45 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我用loadrunner录制了点击一个按钮就可以将图片以二进制流类型的数据插入到oracle.那么频繁上万用户执行该操作怎么办了?

先谢谢各位仁兄了!

[ 本帖最后由 HAOYUNXIANXIAN 于 2010-1-15 12:54 编辑 ]
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2010-1-15 14:47:16 | 只看该作者

这个测试怎么做? 帮我说说吧!

回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2010-1-15 15:54:02 | 只看该作者
参数化可以么?
如果允许同样的照片,qtp也可以
回复 支持 反对

使用道具 举报

该用户从未签到

4#
 楼主| 发表于 2010-1-19 16:03:53 | 只看该作者

问题是图象值太大,如下所示:377854个字节,我粘贴不下了.

"Value=AF0AAIAARr4KAAAAAAAAKZlIZ3e6XPMHME4B4yzhsvVvChZwhoXXSGBr+/CS3r7iKvyhbjDtLKGjbq46JK3dKKZRyYPFVaFxKiMrzGHGJIP0xQ14AxdilVGITLcU/ZIsmaNTxo0XW+tRuOFQWTCPirR3kTdsGp6EDAH1r62mVeomRrlEHyUlglzrQ4gtTjY0N90U5CGfzro9UhquNuIglDkY+ngk+gRuiYGaNcNyeFcpioHUW2ZLrtR+78H+3rL9icG0c4rHxfhHEvvrkGS4TFjZbRmNp5D5z2L8zDHlzFB8URBG4mSB5eDl1MWDPgqmmNfXRf9m2bvEln7PmnCX6EN8veu4F2H5MlUbwVlJ0sIuk0BuxClq+HZyL60Te0K2QkT7z2a4wR/xqaaW69Ph8LQraMwzhzqIwEd4Y7P/hMZdZmUgAMLl4OcTQmRJPyOJ7zyDd0wqL1EJp+"
回复 支持 反对

使用道具 举报

该用户从未签到

5#
 楼主| 发表于 2010-1-20 14:35:18 | 只看该作者

用lr录制后, 请问value的图片值太大怎么办?

web_submit_data("Handler_VideoModel.ashx_2",
                "Action=http://192.168.0.101/Hospital.Client/AjaxData/Handler_VideoModel.ashx?type=1",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://192.168.0.101/Hospital.Client/VideoModel.aspx",
                "Snapshot=t10.inf",
                "Mode=HTML",
                ITEMDATA,
                "Name=hidFaceData", "Value=AF0AAIAARr4KAAAAAAAAKZlIZ3e6XPMJ5WmnvyHWkEbUsLTxRzY3P+Lrj9jaT57+Ivtt3OF83vrp4Q+iZb+x8gdzKx34ysOSmSEiWn2dQjkgubydG82u640kLiTBljtcdbuIL/uj7MhpyhpoUsS8XCspiYBNhy9ps1gL4cJruWSOOlr2Uc1IFiY1emnt2XL+kksLrUWqynLISjOM9DIIUBqg9KFPp70/hCh5A/EzgHFDqCziemjafeOaotdjjgScIRklYi6DV5Du9ETHkAcGx+fZ4kO/xtGYqN4ohzU3UE3bawnPGF+EqqFHcJ/DkK89J3KkraygcEXo6r7NbqXYkSvfRc0Dce8+/PrGc9GwdD6MPI7mfveuCz0U1bUhphl0XxARZqB277kHH8Du4EMwwOY2pnf2FljGIt4ThT+wqYKUYvRnbEUqDPv8ZjcpjzYwpHKM26ZPXwDcGrqrAu2/PaI8h/b+"
                "8t++m1JK6gVPXWDAAd/Nr3SwfJq2H0nFXOcfIUmkDxry+iEwMgBndUM6RofrQ7X8Xi9cgMFMxpBo3TPq0brLneHmx/uRFoNdqKsgqmvgA+7IH3bCmmtCbteLVfCBe8ch6vgrd6MIr3sytDWSk5D0OTrodYeLcMz1k2vXbP0rYvf3isuSJiUqjdFd/Btq6Q39GVilwanBcBClx1F5teJESVq/kfVarwDuZnHtEZ5fr8GhUmzZlBvGWT3I3mmApCDwJCGCX+P0IYE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F/wMCvc74YBpNVTr9ihoUQaD7j+0tyYX8y6JyGDoA7xY6nPg2xdzWZM8ATT4IfniUbo/6UJyVLb4XG58uVFw/0IXqbhYYA66byoCaFbze3QWYS2FxKmeQRQBRyq6185tvMUQRZiEsProBJx3mDOGzV5WsA21CHVVdy2Q96q4u5ZOu2chjoL+V6WpnX8cReUwzbgftI1/"
                "5kgFzaOWrd5m6gxzAX7ADlzWOrjMc4zOxu1QpcRUb6qtxoiqFM1tZZKzdCNioni+PSRtEV8UtuJf0NFARb3+nhoGOepGkRjQkexHhwnxjfto0+UoTNCzFV/NN8KCfC/YXZotPzfz8oeZ7IdBPG3NjJZM3l0mK8p3jY6y/oRy9Ox4ogng2a2+jCi/5OwTtm06I9xlfIsuYT0X/lYfyV9RrJIXlD99V1CoZGA1G/dKt/qWQRGa8lH1FMU69norrhuMO9kG5fMd3ttJy6hiXvfjyyZOUXxsK9fLBb01SACd+hlSbW1fHBWGSbql7juFopoNCnftcBKLRhrpAFNbuNtxL5unK+We11hn1Vq/XZ+EVZPghcefQodKUx5m1zSeEyxW3WO+diIO6PMzWgJZS8Tivx49xK2kBPkTAu+XdIfmFvXJyytY6VV4SS5V4nQ+dZCpA4wS9z5DZPEe3T9CHKbCEsH+"
                "YoqfkrJKAewWqE05PHS8FoJSa1ehzZd9NiRAHMcrP2GemS8SsN2
回复 支持 反对

使用道具 举报

  • TA的每日心情
    开心
    2014-10-24 09:36
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    6#
    发表于 2010-1-20 14:51:44 | 只看该作者
    你这个比较厉害,还没用试过value设置成字节形式的,都是以文件方式上传的
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    7#
     楼主| 发表于 2010-1-28 11:17:26 | 只看该作者

    回复 7# 的帖子

    请问版主value值太长怎么做参数化?  佩带那么多奖彰,
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-11-15 12:09 , Processed in 0.072864 second(s), 27 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表