GithubHelp home page GithubHelp logo

Comments (11)

yaniswang avatar yaniswang commented on May 3, 2024

你iis站点没设置为以administrator用户访问吧?

from f2etest.

simonguo avatar simonguo commented on May 3, 2024

setuser.asp 访问可以了。 通过访问 http:/127.0.0.1/setuser.asp?username=test&password=hello123&key=1452163801632 也可以把test 用户添加进去
但是通过访问 :http://10.8.8.26:3000/syncAllRemoteUsers 不能把用户同步过去

from f2etest.

yaniswang avatar yaniswang commented on May 3, 2024

key两边不一致吧?

from f2etest.

simonguo avatar simonguo commented on May 3, 2024

一个是 site.json中的 "clientApiKey":"1452163801632",
一个是 setuser.asp 中的 apiKey = "1452163801632"

两边都一致的

from f2etest.

simonguo avatar simonguo commented on May 3, 2024

我通过本地直接访问 http://10.8.8.20/setuser.asp?username=test6&password=hello123&key=1452163801632 也是可以把test6 用户同步到 10.8.8.20 这台机器

from f2etest.

simonguo avatar simonguo commented on May 3, 2024

https://github.com/alibaba/f2etest/blob/master/f2etest-web/control/syncAllRemoteUsers.js#L39 是通过这里同步的吧

我在这里加了一个console.log()

arrTasks.push(function(callback){
    console.log('http://'+server.ip+'/setuser.asp?key='+encodeURIComponent(clientApiKey)+'&username='+encodeURIComponent(username)+'&password='+encodeURIComponent(password));
    request('http://'+server.ip+'/setuser.asp?key='+encodeURIComponent(clientApiKey)+'&username='+encodeURIComponent(username)+'&password='+encodeURIComponent(password), function(error, response, data){
        callback(error, {
            ip: server.ip,
            ret: data
        });
    });
});

发现同步的电脑只有一个 10.8.8.22 这个IP 没有IE6浏览器10.8.8.20 这个IP
http://10.8.8.22/setuser.asp?key=1452163801632&username=User1452246019921&password=c67b244dd48a205aa7b22f9fbdca428d

from f2etest.

simonguo avatar simonguo commented on May 3, 2024

最后 我怀疑我f2etest-web 配置可能有问题, 然后找,发现 https://github.com/alibaba/f2etest/blob/master/f2etest-web/conf/server.json
这个文件中,我当是只设置了 ie8 浏览器客户端的IP

然后我把
{
"id": "f2etest-ie6",
"ip": "10.8.8.20",
"remoteApp": false
}
添加到配置中就OK了
搞定 , Windows 2003 和 2008 都可以了,接下来就是体力活,把其他浏览器配置好。

from f2etest.

yaniswang avatar yaniswang commented on May 3, 2024

恭喜!

from f2etest.

ariesliu avatar ariesliu commented on May 3, 2024

http://blog.csdn.net/wpyily/article/details/50563815
有需要的可以看看我的帖子,在作者的基础上做了一些记录

from f2etest.

zhangjianpinghik avatar zhangjianpinghik commented on May 3, 2024

@simonguo windows端配置求指导,我目前也是访问 setuser.asp 一直返回 set user failed,一直卡在这里了

from f2etest.

simonguo avatar simonguo commented on May 3, 2024

iis的administrator用户权限你设置了吗?@zhangjianpinghik

from f2etest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.