在本地测试谷歌云端点 [英] Testing google cloud endpoints locally

查看:106
本文介绍了在本地测试谷歌云端点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用谷歌云端点在应用程序引擎中编写一些代码,并且我也注册了可信的测试程序,但我的请求仍在等待处理,所以据我所知,只有当他们访问终端时托管在appspot域中,那么有什么方法可以在本地使用端点,这样我就可以继续开发,直到我的请求被考虑为云端点作为可信任的测试者?

I been trying to write some code using google cloud endpoints IN app engine and I've also signed up for the trusted tester program but my request is still pending, so as far as I know i can access the endpoints only when they are hosted in the appspot domain so is there any way to consume the endpoints locally so that I can continue development until my request is being considered for cloud endpoints as a trusted tester?

推荐答案

这没有公开记录(所有文档都与受信任的测试人员共享),但您可以使用本地开发服务器在本地进行测试(在当前SDK中使用Java进行测试,并使用Python在与测试人员共享的SDK中)。

This isn't well documented publicly (all the documentation is shared with trusted testers), but you can test locally with the local development server (in Java in the current SDK, and in Python in the SDK shared with testers).

如果您使用的是Java,您可以查看 codelab

If you're using Java, you can check out instructions in the codelab.

这篇关于在本地测试谷歌云端点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆