public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; if (SPChannelWrapper.CaculteRandom(80)) { context.Response.Write("ok"); } else { context.Response.Write("failed"); } }