Truclient IE VUsers陷入Init状态(Truclient IE VUsers get stuck at Init state)
我使用LoadRunner 12.02开发了一个Truclient脚本,它可以在Truclient IE脚本开发人员和我的本地控制器中找到它。 只有当我尝试在ALM中运行它 - Performance Center 11.52时才会出现此问题。 所有虚拟用户都陷入“初始化”状态,并且永远不会进入“正在运行”状态。
我尝试下载RawResults.zip并调查问题但是它没有显示任何错误,因为运行的VUsers总数为零。
可能它不起作用因为我使用LoadRunner 12.02开发它并且我试图在ALM中运行它 - Performance Center 11.52? 我没有针对Web-HTTP / HTML协议的这个问题。
我不是一个经验丰富的性能测试人员,如果你帮助我解决这个问题,我会非常熟悉它。 我提前谢谢你。
I have developed a Truclient script using LoadRunner 12.02 and it works find both in Truclient IE script developer and my local controller. The problem occurs only when I try to run it in ALM - Performance Center 11.52. All Virtual Users get stuck at "Init" state and never proceed to "Running" state.
I try to download RawResults.zip and investigate what's the issue but it does not show any error as the total number of VUsers running were zero.
Can it be that it does not work because I developed it using LoadRunner 12.02 and I am trying to run it in ALM - Performance Center 11.52 ? I have not had this issue for Web - HTTP/HTML protocol.
I am not an expricenced performance tester and I would really appriciate it if you assist me to troubleshoot this issue. I thank you in advance.
原文:https://stackoverflow.com/questions/37289489
最满意答案
尝试添加此然后调用
fillMenu()
public String[] menu; public void fillMenu() { menu = new String[4]; if(Main.langPicked == 1) { menu[0] = "Singleplayer"; menu[1] = "Multiplayer"; menu[2] = "Options"; menu[3] = "Exit Game"; } else if(Main.langPicked == 2) { menu[0] = "Solo"; menu[1] = "Multijoueur"; menu[2] = "Options"; menu[3] = "Quitter Le Jeu"; } else if(Main.langPicked == 3) { menu[0] = "Singleplayer"; menu[1] = "Multiplayer"; menu[2] = "Opties"; menu[3] = "Verlaat Het Spel"; } }
Try adding this then calling
fillMenu()
public String[] menu; public void fillMenu() { menu = new String[4]; if(Main.langPicked == 1) { menu[0] = "Singleplayer"; menu[1] = "Multiplayer"; menu[2] = "Options"; menu[3] = "Exit Game"; } else if(Main.langPicked == 2) { menu[0] = "Solo"; menu[1] = "Multijoueur"; menu[2] = "Options"; menu[3] = "Quitter Le Jeu"; } else if(Main.langPicked == 3) { menu[0] = "Singleplayer"; menu[1] = "Multiplayer"; menu[2] = "Opties"; menu[3] = "Verlaat Het Spel"; } }
相关问答
更多-
会发生什么是从前一次调用repaint()中抽取的字符串... @Override public void paintComponent(Graphics g) { ... } 在进行自定义绘画之前,您需要确保绘制了面板背景。 代码应该是: @Override public void paintComponent(Graphics g) { super.paintComponent(g); ... } What happens is the strings that are dr ...
-
你确定? 这里有一个教程,可能会有所帮助: http://www.switchonthecode.com/tutorials/csharp-snippet-tutorial-how-to-draw-text-on-an-image (编辑) 尝试从基础开始:我刚刚创建了一个新的表单应用程序,并将Form1中的代码更改为: public partial class Form1 : Form { public Form1() { InitializeComponent(); ...
-
首先为您的实际问题:请检查JavaDoc的drawString() 。 该方法需要一个String 。 所以你应该写一些类似的代码 for (i=0; i < list.length(); i++) { g.setColor(hashMap.get(list[i])); g.drawString(list[i], 10 + i*10, 10); } 或类似的东西。 换句话说:你不能将整个数组传递给那个调用。 您必须为每个要显示的字符串调用一次 ; 当然,你必须考虑水平间距。 或者,你可以简单地将你 ...
-
您需要将颜色设置为BG以外的字符串才能显示。 private static void end(Graphics g) { g.setColor(BG); g.fillRect(0, 0, 900, 900); g.setFont(new Font("TimesRoman", Font.PLAIN, 40)); g.setColor(FG) // Here g.drawString("GAME OVER!!", 10, 30); } You need to set ...
-
Java unicode转义的一般格式是 UnicodeEscape: \ UnicodeMarker HexDigit HexDigit HexDigit HexDigit UnicodeMarker: u UnicodeMarker u 因此,Java中此字符的正确顺序是\u03F4 。 http://www.fileformat.info/info/unicode/char/03F4/index.htm The general format for Java unicode ...
-
使用drawString绘制整数而不将其指定给字符串(Paint integer using drawString without assigning it to a string)[2022-02-27]
在评论中我看到了这篇文章,这是解决问题的方法。 “对我而言,目前尚不清楚。当你想绘制一个int时,你可以做g.drawSting(String.valueOf(theInt),x,y) - 这有什么问题?” - Marco13 3月5日22:42 感谢您发布Marco13! 真的帮了我一下! In the comments I saw this post, which was the resolution to the problem. "For me it's not clear. When you wa ... -
尝试添加此然后调用fillMenu() public String[] menu; public void fillMenu() { menu = new String[4]; if(Main.langPicked == 1) { menu[0] = "Singleplayer"; menu[1] = "Multiplayer"; menu[2] = "Options"; menu[3] = "Exit Game"; ...
-
如果行星名称为空,则可能发生。 I finally got it working. There was apparently a problem with having the Graphics object as a member variable and call it from my methods. I instead ended up doing: var g = CreateGraphics(); g.drawString(...); Thanks for your help!
-
private void drawString(Graphics g, String text, int x, int y) { for (String line : text.split("\n")) g.drawString(line, x, y += g.getFontMetrics().getHeight()); } private void drawtabString(Graphics ...
-
尝试使用SpriteSortMode.Immediate。 否则,我认为问题可能在于你做事的方式。 将渲染留给UI之外的类似乎很麻烦。 你应该能够告诉按钮绘制,它应该绘制自己。 或者确实只是告诉你的UI绘制,它绘制所有控件,绘制他们的子控件等。 这样您就可以在层次结构中构建UI::) 稍微构建您的UI; 有像UIControl之类的基类; List
Children { get; protected set; } Update(MyInputSystem input, float ...