Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » JMeter | Popups(TestCase With Popups Fails)
JMeter | Popups [message #771682] Tue, 27 December 2011 22:55 Go to next message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
Hi

I have test scenario in which we do the below test

0.Add Records
1.Select ALL Button(Select All Records)
2.Remove ALL(Open the confirmation box)
3.Conformation (Yes/NO)
4.(if 'yes' selected in above step)Remove all records in table.

I have recoded the above test with 'yes' option and i have put in loop for 10 times.
I have also put the log statement('Yes Clicked') in the server code when 'yes' is clicked.

When i run the test in the JMeter, I see that 'Yes Clicked' only once in logs and my test case fails though it should be 10 times.

How can i make sure that confirmation box('yes') is clicked 10 times through the jmeter test case?

I do not see any error in the response from server..
Re: JMeter | Popups [message #773103 is a reply to message #771682] Sat, 31 December 2011 13:48 Go to previous messageGo to next message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
I notice the difference - Correct Response has

{
"meta": {
"requestCounter": 25
},
"operations": [ {
"target": "w366",
"action": "destroy"
}, {
"target": "w374",
"action": "destroy"
}, {
"target": "w368",
"action": "destroy"
}, {
"target": "w373",
"action": "destroy"
}, {
"target": "w372",
"action": "destroy"
}, {
"target": "w371",
"action": "destroy"
}, {
"target": "w370",
"action": "destroy"
}, {
"target": "w369",
"action": "destroy"
}, {
"target": "w367",
"action": "destroy"
}, {
"target": "w2",
"action": "set",
"properties": {
"active": true,
"defaultButton": "w169"
}
}, {
"target": "w192",
"action": "set",
"properties": {
"toolTip": "Send txn (S)"
}
}, {
"target": "w194",
"action": "set",
"properties": {
"toolTip": "Customize Grid Columns (G)"
}
}, {
"target": "w53",
"action": "set",
"properties": {
"bounds": [ 0, 0, 1143, 337 ]
}
}, {
"target": "w437",
"action": "set",
"properties": {
"bounds": [ 908, 0, 235, 86 ]
}
}, {
"target": "w436",
"action": "set",
"properties": {
"bounds": [ 167, 7, 34, 26 ]
}
}, {
"target": "w466",
"action": "set",
"properties": {
"bounds": [ 205, 7, 30, 22 ]
}
}, {
"target": "w376",
"action": "set",
"properties": {
"bounds": [ 4, 34, 227, 297 ]
}
}, {
"target": "w434",
"action": "set",
"properties": {
"bounds": [ 167, 7, 34, 26 ]
}
}, {
"target": "w472",
"action": "set",
"properties": {
"bounds": [ 205, 7, 30, 22 ]
}
}, {
"target": "w432",
"action": "set",
"properties": {
"bounds": [ 144, 7, 34, 26 ]
}
}, {
"target": "w487",
"action": "set",
"properties": {
"bounds": [ 182, 7, 30, 22 ]
}
}, {
"target": "w430",
"action": "set",
"properties": {
"bounds": [ 115, 7, 34, 26 ]
}
}, {
"target": "w512",
"action": "set",
"properties": {
"bounds": [ 153, 7, 30, 22 ]
}
}, {
"target": "w112",
"action": "set",
"properties": {
"toolTip": ""
}
}, {
"target": "w113",
"action": "set",
"properties": {
"toolTip": ""
}
}, {
"target": "w114",
"action": "set",
"properties": {
"toolTip": ""
}
}, {
"target": "w115",
"action": "set",
"properties": {
"toolTip": ""
}
}, {
"target": "w116",
"action": "set",
"properties": {
"toolTip": ""
}
}, {
"target": "w117",
"action": "set",
"properties": {
"toolTip": ""
}
}, {
"target": "w118",
"action": "set",
"properties": {
"toolTip": ""
}
}, {
"target": "w37",
"action": "set",
"properties": {
"selectionBackground": [ 227, 227, 213, 255 ],
"selectionForeground": [ 84, 48, 26, 255 ],
"selectionBackgroundGradient": [ [ "#e3e3d5", "#e3e3d5" ], [ 0, 75 ], true ]
}
}, {
"target": "w1",
"action": "set",
"properties": {
"focusControl": "w169"
}
}, {
"target": "jsex",
"action": "executeScript",
"scriptType": "text/javascript",
"content": "org.eclipse.rwt.KeyEventUtil.getInstance().setKeyBindings({\"CTRL+66\":true,\"CTRL+69\":true,\"CTRL+65\":true,\"CTRL+49\":true,\"CTRL+83\":true,\"118\":true,\"115\":true,\"114\":true,\"CTRL+78\":true,\"119\":true,\"CTRL+82\":true,\"CTRL+SHIFT+82\":true,\"ALT+CTRL+84\":true,\"CTRL+79\":true,\"CTRL+77\":true,\"CTRL+85\":true,\"ALT+CTRL+80\":true,\"SHIFT+117\":true,\"117\":true,\"CTRL+190\":true,\"CTRL+55\":true,\"CTRL+54\":true,\"CTRL+53\":true,\"CTRL+52\":true,\"CTRL+51\":true,\"CTRL+50\":true,\"CTRL+81\":true,\"CTRL+120\":true,\"CTRL+SHIFT+120\":true,\"CTRL+SHIFT+121\":true,\"CTRL+90\":true,\"SHIFT+120\":true,\"ALT+CTRL+90\":true,\"CTRL+116\":true,\"CTRL+SHIFT+83\":true,\"CTRL+84\":true,\"CTRL+76\":true,\"CTRL+SHIFT+79\":true,\"CTRL+SHIFT+77\":true,\"ALT+CTRL+77\":true,\"CTRL+87\":true,\"CTRL+88\":true,\"CTRL+89\":true,\"CTRL+75\":true,\"CTRL+80\":true,\"CTRL+SHIFT+87\":true,\"CTRL+118\":true,\"CTRL+SHIFT+118\":true,\"SHIFT+118\":true,\"116\":true,\"CTRL+SHIFT+70\":true,\"ALT+CTRL+SHIFT+68\":true,\"CTRL+70\":true,\"ALT+SHIFT+67\":true,\"ALT+CTRL+71\":true,\"CTRL+71\":true,\"ALT+CTRL+65\":true,\"CTRL+68\":true,\"CTRL+72\":true,\"CTRL+220\":true,\"CTRL+SHIFT+67\":true,\"ALT+CTRL+70\":true,\"CTRL+SHIFT+72\":true});"
}, {
"target": "w1",
"action": "call",
"method": "measureStrings",
"properties": {
"strings": [ [ -765114519, "-6,582,976", [ "Arial" ], 11, false, false, -1 ], [ 1648602619, "99.203", [ "Arial" ], 11, false, false, 0 ], [ -2036286892, "-0.25", [ "Arial" ], 11, false, false, 0 ], [ 1648640129, "99.384", [ "Arial" ], 11, false, false, 0 ], [ -1851479676, "0.61513", [ "Arial" ], 11, false, false, 0 ], [ -1546722780, "Select All", [ "Arial" ], 11, false, false, -1 ], [ 1552074570, "2.35996", [ "Arial" ], 11, false, false, 0 ], [ -1889447053, "24.25", [ "Arial" ], 11, false, false, 0 ], [ -1901343021, "0.49585", [ "Arial" ], 11, false, false, 0 ], [ -1907002505, "0.43190", [ "Arial" ], 11, false, false, 0 ], [ 1395212855, "Price All", [ "Arial" ], 11, false, false, -1 ], [ -2034440966, "-2.10", [ "Arial" ], 11, false, false, 0 ], [ 439527138, " ", [ "Arial" ], 11, false, false, 0 ], [ -1849539417, "0.63853", [ "Arial" ], 11, false, false, 0 ], [ 1648580485, "99.182", [ "Arial" ], 11, false, false, 0 ], [ 669894819, "ComplexSwap ", [ "Arial" ], 11, true, false, -1 ], [ 1648606432, "99.242", [ "Arial" ], 11, false, false, 0 ], [ 1648606463, "99.243", [ "Arial" ], 11, false, false, 0 ], [ -190891633, "1.35420", [ "Arial" ], 11, false, false, 0 ], [ -190891634, "1.35420", [ "Arial" ], 11, false, false, -1 ], [ 777854301, "ComplexSwap", [ "Arial" ], 11, true, false, -1 ], [ -74462639, "1.77680", [ "Arial" ], 11, false, false, 0 ], [ 1648637184, "99.352", [ "Arial" ], 11, false, false, 0 ], [ -888283454, "Solve", [ "Arial" ], 11, false, false, -1 ], [ -852494667, "Tweak", [ "Arial" ], 11, false, false, -1 ], [ 1648663255, "99.416", [ "Arial" ], 11, false, false, 0 ], [ -1827568418, "49.50", [ "Arial" ], 11, false, false, 0 ], [ 1648664216, "99.426", [ "Arial" ], 11, false, false, 0 ], [ -2036284133, "-0.51", [ "Arial" ], 11, false, false, 0 ], [ -2036285869, "-0.37", [ "Arial" ], 11, false, false, 0 ], [ -1916231239, "16.00", [ "Arial" ], 11, false, false, 0 ], [ -1228341502, " ", [ "Arial" ], 11, false, false, 0 ], [ -2036282924, "-0.69", [ "Arial" ], 11, false, false, 0 ], [ -1228341444, " ", [ "Arial" ], 11, false, false, 58 ], [ -48789524, "1.84010", [ "Arial" ], 11, false, false, 0 ], [ -925955150, "Reset", [ "Arial" ], 11, false, false, -1 ], [ -1845044789, "0.68414", [ "Arial" ], 11, false, false, 0 ], [ 971292130, "1.25", [ "Arial" ], 11, false, false, 0 ], [ -1761003541, "0.96420", [ "Arial" ], 11, false, false, 0 ], [ -1349038748, "Clone", [ "Arial" ], 11, false, false, -1 ], [ -1907695386, "0.42910", [ "Arial" ], 11, false, false, 0 ], [ -1829414406, "47.63", [ "Arial" ], 11, false, false, 0 ], [ 1648633526, "99.318", [ "Arial" ], 11, false, false, 0 ], [ -1885752969, "28.25", [ "Arial" ], 11, false, false, 0 ], [ -1877278589, "0.54716", [ "Arial" ], 11, false, false, 0 ], [ -1919918441, "12.75", [ "Arial" ], 11, false, false, 0 ], [ -103991286, "1.66720", [ "Arial" ], 11, false, false, 0 ], [ -251726622, "1.11805", [ "Arial" ], 11, false, false, 0 ], [ 1618169898, "24,305,775", [ "Arial" ], 11, false, false, -1 ], [ -1766426309, "0.90815", [ "Arial" ], 11, false, false, 0 ], [ -1506829176, "6,582,491", [ "Arial" ], 11, false, false, -1 ], [ -2029822245, "-7.25", [ "Arial" ], 11, false, false, 0 ], [ -1691815481, "91.05", [ "Arial" ], 11, false, false, 0 ], [ -1964086804, "0.23742", [ "Arial" ], 11, false, false, 0 ], [ -278875068, "RemoveAll", [ "Arial" ], 11, false, false, -1 ], [ -1891294095, "22.25", [ "Arial" ], 11, false, false, 0 ], [ 1462305452, "2.01300", [ "Arial" ], 11, false, false, 0 ], [ -1538706685, "Deselect All", [ "Arial" ], 11, false, false, -1 ], [ 1496475729, "2.17300", [ "Arial" ], 11, false, false, 0 ], [ -1856202374, "39.00", [ "Arial" ], 11, false, false, 0 ], [ -1398957851, "17,722,799", [ "Arial" ], 11, false, false, -1 ], [ -2036281033, "-0.88", [ "Arial" ], 11, false, false, 0 ], [ -1715206464, "117.723", [ "Arial" ], 11, false, false, -1 ], [ -1816442670, "0.78340", [ "Arial" ], 11, false, false, 0 ], [ -1845903799, "0.67668", [ "Arial" ], 11, false, false, 0 ], [ -765261707, "-6,582,491", [ "Arial" ], 11, false, false, -1 ], [ 1618118483, "ComplexSwap *", [ "Arial" ], 11, true, false, -1 ], [ 1648608416, "99.264", [ "Arial" ], 11, false, false, 0 ], [ 1620131196, "98.797", [ "Arial" ], 11, false, false, 0 ], [ -21023351, "1.93220", [ "Arial" ], 11, false, false, 0 ], [ -158567437, "1.49430", [ "Arial" ], 11, false, false, 0 ], [ -601866739, "-29.50", [ "Arial" ], 11, false, false, 0 ], [ -1844003034, "0.69805", [ "Arial" ], 11, false, false, 0 ], [ 1664468139, "2.73010", [ "Arial" ], 11, false, false, 0 ], [ 1607478111, "2.53915", [ "Arial" ], 11, false, false, 0 ], [ 999153968, "Move", [ "Arial" ], 11, false, false, -1 ], [ -1872718644, "0.59536", [ "Arial" ], 11, false, false, 0 ], [ -1296873197, "ComplexSwa", [ "Arial" ], 11, true, false, -1 ], [ 1640605548, "2.68510", [ "Arial" ], 11, false, false, 0 ], [ 927043969, "New", [ "Arial" ], 11, false, false, -1 ], [ -222142237, "1.22925", [ "Arial" ], 11, false, false, 0 ], [ -1849714133, "0.63299", [ "Arial" ], 11, false, false, 0 ], [ -2034435975, "-2.66", [ "Arial" ], 11, false, false, 0 ], [ 1648610431, "99.287", [ "Arial" ], 11, false, false, 0 ], [ 1648547811, "99.052", [ "Arial" ], 11, false, false, 0 ], [ -130947181, "1.58175", [ "Arial" ], 11, false, false, 0 ], [ -1874620556, "0.57383", [ "Arial" ], 11, false, false, 0 ], [ -1850496635, "0.62711", [ "Arial" ], 11, false, false, 0 ], [ -1834037870, "42.00", [ "Arial" ], 11, false, false, 0 ], [ 970368609, "0.25", [ "Arial" ], 11, false, false, 0 ], [ -971507976, "Price", [ "Arial" ], 11, false, false, -1 ], [ 1668162223, "2.77010", [ "Arial" ], 11, false, false, 0 ], [ 1598411429, "Price All PV", [ "Arial" ], 11, false, false, -1 ], [ -1819095743, "0.75728", [ "Arial" ], 11, false, false, 0 ], [ 1525135787, "2.27415", [ "Arial" ], 11, false, false, 0 ], [ 1607360714, "2.53530", [ "Arial" ], 11, false, false, 0 ], [ -2035363495, "-1.21", [ "Arial" ], 11, false, false, 0 ], [ 1638675860, "2.66280", [ "Arial" ], 11, false, false, 0 ], [ 1618119444, "ComplexSwap *", [ "Arial" ], 11, false, false, -1 ], [ 1466899032, "2.06260", [ "Arial" ], 11, false, false, 0 ], [ 1667303089, "2.76260", [ "Arial" ], 11, false, false, 0 ], [ -613858595, "Remove", [ "Arial" ], 11, false, false, -1 ], [ -1086032495, "3.05760", [ "Arial" ], 11, false, false, 0 ], [ 801266244, "Price PV", [ "Arial" ], 11, false, false, -1 ], [ -1902301138, "0.48435", [ "Arial" ], 11, false, false, 0 ], [ 1620095515, "98.633", [ "Arial" ], 11, false, false, 0 ], [ 1663641834, "2.72395", [ "Arial" ], 11, false, false, 0 ], [ 1648579679, "99.177", [ "Arial" ], 11, false, false, 0 ], [ 777855262, "ComplexSwap", [ "Arial" ], 11, false, false, -1 ], [ 439527190, " ", [ "Arial" ], 11, false, false, 52 ], [ -2035359620, "-1.62", [ "Arial" ], 11, false, false, 0 ], [ 1491057797, "2.11746", [ "Arial" ], 11, false, false, 0 ], [ 1648578563, "99.162", [ "Arial" ], 11, false, false, 0 ], [ -1411465719, "101.52", [ "Arial" ], 11, false, false, 0 ], [ -1822881153, "0.71407", [ "Arial" ], 11, false, false, 0 ], [ -1155478617, "Cancel", [ "Arial" ], 11, false, false, -1 ], [ 1670191049, "2.79645", [ "Arial" ], 11, false, false, 0 ], [ 970373414, "0.75", [ "Arial" ], 11, false, false, 0 ], [ -1823655843, "0.70903", [ "Arial" ], 11, false, false, 0 ], [ 1620037979, "98.457", [ "Arial" ], 11, false, false, 0 ], [ -1887597283, "26.50", [ "Arial" ], 11, false, false, 0 ], [ -575087358, "-37.25", [ "Arial" ], 11, false, false, 0 ], [ -1874446522, "0.57936", [ "Arial" ], 11, false, false, 0 ], [ -579700158, "-32.75", [ "Arial" ], 11, false, false, 0 ], [ 1648574750, "99.123", [ "Arial" ], 11, false, false, 0 ], [ -1859894381, "35.25", [ "Arial" ], 11, false, false, 0 ] ]
}
} ]
}

Incorrect Response:
{
"meta": {
"requestCounter": 89
},
"operations": [ {
"target": "w1",
"action": "call",
"method": "measureStrings",
"properties": {
"strings": [ [ -765114519, "-6,582,976", [ "Arial" ], 11, false, false, -1 ], [ 1648602619, "99.203", [ "Arial" ], 11, false, false, 0 ], [ -2036286892, "-0.25", [ "Arial" ], 11, false, false, 0 ], [ 1648640129, "99.384", [ "Arial" ], 11, false, false, 0 ], [ -1851479676, "0.61513", [ "Arial" ], 11, false, false, 0 ], [ -1546722780, "Select All", [ "Arial" ], 11, false, false, -1 ], [ 1552074570, "2.35996", [ "Arial" ], 11, false, false, 0 ], [ -1889447053, "24.25", [ "Arial" ], 11, false, false, 0 ], [ -1901343021, "0.49585", [ "Arial" ], 11, false, false, 0 ], [ -1907002505, "0.43190", [ "Arial" ], 11, false, false, 0 ], [ 1395212855, "Price All", [ "Arial" ], 11, false, false, -1 ], [ -2034440966, "-2.10", [ "Arial" ], 11, false, false, 0 ], [ 439527138, " ", [ "Arial" ], 11, false, false, 0 ], [ -1849539417, "0.63853", [ "Arial" ], 11, false, false, 0 ], [ 1648580485, "99.182", [ "Arial" ], 11, false, false, 0 ], [ 669894819, "ComplexSwap ", [ "Arial" ], 11, true, false, -1 ], [ 1648606432, "99.242", [ "Arial" ], 11, false, false, 0 ], [ 1648606463, "99.243", [ "Arial" ], 11, false, false, 0 ], [ -190891633, "1.35420", [ "Arial" ], 11, false, false, 0 ], [ -190891634, "1.35420", [ "Arial" ], 11, false, false, -1 ], [ 777854301, "ComplexSwap", [ "Arial" ], 11, true, false, -1 ], [ -74462639, "1.77680", [ "Arial" ], 11, false, false, 0 ], [ 1648637184, "99.352", [ "Arial" ], 11, false, false, 0 ], [ -888283454, "Solve", [ "Arial" ], 11, false, false, -1 ], [ -852494667, "Tweak", [ "Arial" ], 11, false, false, -1 ], [ 1648663255, "99.416", [ "Arial" ], 11, false, false, 0 ], [ -1827568418, "49.50", [ "Arial" ], 11, false, false, 0 ], [ 1648664216, "99.426", [ "Arial" ], 11, false, false, 0 ], [ -2036284133, "-0.51", [ "Arial" ], 11, false, false, 0 ], [ -2036285869, "-0.37", [ "Arial" ], 11, false, false, 0 ], [ -1916231239, "16.00", [ "Arial" ], 11, false, false, 0 ], [ -1228341502, " ", [ "Arial" ], 11, false, false, 0 ], [ -2036282924, "-0.69", [ "Arial" ], 11, false, false, 0 ], [ -1228341444, " ", [ "Arial" ], 11, false, false, 58 ], [ -48789524, "1.84010", [ "Arial" ], 11, false, false, 0 ], [ -925955150, "Reset", [ "Arial" ], 11, false, false, -1 ], [ -1845044789, "0.68414", [ "Arial" ], 11, false, false, 0 ], [ 971292130, "1.25", [ "Arial" ], 11, false, false, 0 ], [ -1761003541, "0.96420", [ "Arial" ], 11, false, false, 0 ], [ -1349038748, "Clone", [ "Arial" ], 11, false, false, -1 ], [ -1907695386, "0.42910", [ "Arial" ], 11, false, false, 0 ], [ -1829414406, "47.63", [ "Arial" ], 11, false, false, 0 ], [ 1648633526, "99.318", [ "Arial" ], 11, false, false, 0 ], [ -1885752969, "28.25", [ "Arial" ], 11, false, false, 0 ], [ -1804479402, "53.61", [ "Arial" ], 11, false, false, -1 ], [ -1877278589, "0.54716", [ "Arial" ], 11, false, false, 0 ], [ -1919918441, "12.75", [ "Arial" ], 11, false, false, 0 ], [ -103991286, "1.66720", [ "Arial" ], 11, false, false, 0 ], [ -251726622, "1.11805", [ "Arial" ], 11, false, false, 0 ], [ 1618169898, "24,305,775", [ "Arial" ], 11, false, false, -1 ], [ -1766426309, "0.90815", [ "Arial" ], 11, false, false, 0 ], [ -1506829176, "6,582,491", [ "Arial" ], 11, false, false, -1 ], [ -2029822245, "-7.25", [ "Arial" ], 11, false, false, 0 ], [ -1691815481, "91.05", [ "Arial" ], 11, false, false, 0 ], [ -1964086804, "0.23742", [ "Arial" ], 11, false, false, 0 ], [ 2045853544, "Sapphire took (5) seconds to load (0) transactions and (0) portfolios", [ "Arial" ], 11, false, false, 0 ], [ -1885751947, "28.37", [ "Arial" ], 11, false, false, -1 ], [ -278875068, "RemoveAll", [ "Arial" ], 11, false, false, -1 ], [ -1891294095, "22.25", [ "Arial" ], 11, false, false, 0 ], [ 1462305452, "2.01300", [ "Arial" ], 11, false, false, 0 ], [ -1538706685, "Deselect All", [ "Arial" ], 11, false, false, -1 ], [ 1496475729, "2.17300", [ "Arial" ], 11, false, false, 0 ], [ -1856202374, "39.00", [ "Arial" ], 11, false, false, 0 ], [ -1398957851, "17,722,799", [ "Arial" ], 11, false, false, -1 ], [ -2036281033, "-0.88", [ "Arial" ], 11, false, false, 0 ], [ -1715206464, "117.723", [ "Arial" ], 11, false, false, -1 ], [ -1816442670, "0.78340", [ "Arial" ], 11, false, false, 0 ], [ -1845903799, "0.67668", [ "Arial" ], 11, false, false, 0 ], [ -765261707, "-6,582,491", [ "Arial" ], 11, false, false, -1 ], [ 1618118483, "ComplexSwap *", [ "Arial" ], 11, true, false, -1 ], [ 1648608416, "99.264", [ "Arial" ], 11, false, false, 0 ], [ 1620131196, "98.797", [ "Arial" ], 11, false, false, 0 ], [ -21023351, "1.93220", [ "Arial" ], 11, false, false, 0 ], [ -158567437, "1.49430", [ "Arial" ], 11, false, false, 0 ], [ -601866739, "-29.50", [ "Arial" ], 11, false, false, 0 ], [ -1844003034, "0.69805", [ "Arial" ], 11, false, false, 0 ], [ 1664468139, "2.73010", [ "Arial" ], 11, false, false, 0 ], [ 1607478111, "2.53915", [ "Arial" ], 11, false, false, 0 ], [ 999153968, "Move", [ "Arial" ], 11, false, false, -1 ], [ -1872718644, "0.59536", [ "Arial" ], 11, false, false, 0 ], [ -1296873197, "ComplexSwa", [ "Arial" ], 11, true, false, -1 ], [ 1640605548, "2.68510", [ "Arial" ], 11, false, false, 0 ], [ 927043969, "New", [ "Arial" ], 11, false, false, -1 ], [ -222142237, "1.22925", [ "Arial" ], 11, false, false, 0 ], [ -1849714133, "0.63299", [ "Arial" ], 11, false, false, 0 ], [ -2034435975, "-2.66", [ "Arial" ], 11, false, false, 0 ], [ 1648610431, "99.287", [ "Arial" ], 11, false, false, 0 ], [ 1648547811, "99.052", [ "Arial" ], 11, false, false, 0 ], [ -130947181, "1.58175", [ "Arial" ], 11, false, false, 0 ], [ -1874620556, "0.57383", [ "Arial" ], 11, false, false, 0 ], [ -1850496635, "0.62711", [ "Arial" ], 11, false, false, 0 ], [ -1834037870, "42.00", [ "Arial" ], 11, false, false, 0 ], [ 970368609, "0.25", [ "Arial" ], 11, false, false, 0 ], [ -971507976, "Price", [ "Arial" ], 11, false, false, -1 ], [ 1668162223, "2.77010", [ "Arial" ], 11, false, false, 0 ], [ 1598411429, "Price All PV", [ "Arial" ], 11, false, false, -1 ], [ -1819095743, "0.75728", [ "Arial" ], 11, false, false, 0 ], [ 1525135787, "2.27415", [ "Arial" ], 11, false, false, 0 ], [ 1607360714, "2.53530", [ "Arial" ], 11, false, false, 0 ], [ -2035363495, "-1.21", [ "Arial" ], 11, false, false, 0 ], [ 1638675860, "2.66280", [ "Arial" ], 11, false, false, 0 ], [ 1618119444, "ComplexSwap *", [ "Arial" ], 11, false, false, -1 ], [ 1466899032, "2.06260", [ "Arial" ], 11, false, false, 0 ], [ 1667303089, "2.76260", [ "Arial" ], 11, false, false, 0 ], [ -613858595, "Remove", [ "Arial" ], 11, false, false, -1 ], [ -1086032495, "3.05760", [ "Arial" ], 11, false, false, 0 ], [ 801266244, "Price PV", [ "Arial" ], 11, false, false, -1 ], [ -1902301138, "0.48435", [ "Arial" ], 11, false, false, 0 ], [ 1620095515, "98.633", [ "Arial" ], 11, false, false, 0 ], [ 1663641834, "2.72395", [ "Arial" ], 11, false, false, 0 ], [ 1648579679, "99.177", [ "Arial" ], 11, false, false, 0 ], [ 777855262, "ComplexSwap", [ "Arial" ], 11, false, false, -1 ], [ 439527190, " ", [ "Arial" ], 11, false, false, 52 ], [ -2035359620, "-1.62", [ "Arial" ], 11, false, false, 0 ], [ 1491057797, "2.11746", [ "Arial" ], 11, false, false, 0 ], [ 1648578563, "99.162", [ "Arial" ], 11, false, false, 0 ], [ -1411465719, "101.52", [ "Arial" ], 11, false, false, 0 ], [ -1822881153, "0.71407", [ "Arial" ], 11, false, false, 0 ], [ -1155478617, "Cancel", [ "Arial" ], 11, false, false, -1 ], [ 1670191049, "2.79645", [ "Arial" ], 11, false, false, 0 ], [ 970373414, "0.75", [ "Arial" ], 11, false, false, 0 ], [ -1823655843, "0.70903", [ "Arial" ], 11, false, false, 0 ], [ 1620037979, "98.457", [ "Arial" ], 11, false, false, 0 ], [ -1887597283, "26.50", [ "Arial" ], 11, false, false, 0 ], [ -575087358, "-37.25", [ "Arial" ], 11, false, false, 0 ], [ -1874446522, "0.57936", [ "Arial" ], 11, false, false, 0 ], [ -579700158, "-32.75", [ "Arial" ], 11, false, false, 0 ], [ 1648574750, "99.123", [ "Arial" ], 11, false, false, 0 ], [ -1859894381, "35.25", [ "Arial" ], 11, false, false, 0 ] ]
}
} ]
}



If you notice in the correct response ---

At very start we have couple of json objects which have action=destroy which i think is correct to remove the rows from swt table. Same are missing from the incorrect response.
Any pointers??
Re: JMeter | Popups [message #773105 is a reply to message #771682] Sat, 31 December 2011 13:48 Go to previous messageGo to next message
Raj is currently offline RajFriend
Messages: 67
Registered: July 2009
Member
I notice the difference - Correct Response has

{
"meta": {
"requestCounter": 25
},
"operations": [ {
"target": "w366",
"action": "destroy"
}, {
"target": "w374",
"action": "destroy"
}, {
"target": "w368",
"action": "destroy"
}, {
"target": "w373",
"action": "destroy"
}, {
"target": "w372",
"action": "destroy"
}, {
"target": "w371",
"action": "destroy"
}, {
"target": "w370",
"action": "destroy"
}, {
"target": "w369",
"action": "destroy"
}, {
"target": "w367",
"action": "destroy"
}, {
"target": "w2",
"action": "set",
"properties": {
"active": true,
"defaultButton": "w169"
}
}, {
"target": "w192",
"action": "set",
"properties": {
"toolTip": "Send txn (S)"
}
}, {
"target": "w194",
"action": "set",
"properties": {
"toolTip": "Customize Grid Columns (G)"
}
}, {
"target": "w53",
"action": "set",
"properties": {
"bounds": [ 0, 0, 1143, 337 ]
}
}, {
"target": "w437",
"action": "set",
"properties": {
"bounds": [ 908, 0, 235, 86 ]
}
}, {
"target": "w436",
"action": "set",
"properties": {
"bounds": [ 167, 7, 34, 26 ]
}
}, {
"target": "w466",
"action": "set",
"properties": {
"bounds": [ 205, 7, 30, 22 ]
}
}, {
"target": "w376",
"action": "set",
"properties": {
"bounds": [ 4, 34, 227, 297 ]
}
}, {
"target": "w434",
"action": "set",
"properties": {
"bounds": [ 167, 7, 34, 26 ]
}
}, {
"target": "w472",
"action": "set",
"properties": {
"bounds": [ 205, 7, 30, 22 ]
}
}, {
"target": "w432",
"action": "set",
"properties": {
"bounds": [ 144, 7, 34, 26 ]
}
}, {
"target": "w487",
"action": "set",
"properties": {
"bounds": [ 182, 7, 30, 22 ]
}
}, {
"target": "w430",
"action": "set",
"properties": {
"bounds": [ 115, 7, 34, 26 ]
}
}, {
"target": "w512",
"action": "set",
"properties": {
"bounds": [ 153, 7, 30, 22 ]
}
}, {
"target": "w112",
"action": "set",
"properties": {
"toolTip": ""
}
}, {
"target": "w113",
"action": "set",
"properties": {
"toolTip": ""
}
}, {
"target": "w114",
"action": "set",
"properties": {
"toolTip": ""
}
}, {
"target": "w115",
"action": "set",
"properties": {
"toolTip": ""
}
}, {
"target": "w116",
"action": "set",
"properties": {
"toolTip": ""
}
}, {
"target": "w117",
"action": "set",
"properties": {
"toolTip": ""
}
}, {
"target": "w118",
"action": "set",
"properties": {
"toolTip": ""
}
}, {
"target": "w37",
"action": "set",
"properties": {
"selectionBackground": [ 227, 227, 213, 255 ],
"selectionForeground": [ 84, 48, 26, 255 ],
"selectionBackgroundGradient": [ [ "#e3e3d5", "#e3e3d5" ], [ 0, 75 ], true ]
}
}, {
"target": "w1",
"action": "set",
"properties": {
"focusControl": "w169"
}
}, {
"target": "jsex",
"action": "executeScript",
"scriptType": "text/javascript",
"content": "org.eclipse.rwt.KeyEventUtil.getInstance().setKeyBindings({\"CTRL+66\":true,\"CTRL+69\":true,\"CTRL+65\":true,\"CTRL+49\":true,\"CTRL+83\":true,\"118\":true,\"115\":true,\"114\":true,\"CTRL+78\":true,\"119\":true,\"CTRL+82\":true,\"CTRL+SHIFT+82\":true,\"ALT+CTRL+84\":true,\"CTRL+79\":true,\"CTRL+77\":true,\"CTRL+85\":true,\"ALT+CTRL+80\":true,\"SHIFT+117\":true,\"117\":true,\"CTRL+190\":true,\"CTRL+55\":true,\"CTRL+54\":true,\"CTRL+53\":true,\"CTRL+52\":true,\"CTRL+51\":true,\"CTRL+50\":true,\"CTRL+81\":true,\"CTRL+120\":true,\"CTRL+SHIFT+120\":true,\"CTRL+SHIFT+121\":true,\"CTRL+90\":true,\"SHIFT+120\":true,\"ALT+CTRL+90\":true,\"CTRL+116\":true,\"CTRL+SHIFT+83\":true,\"CTRL+84\":true,\"CTRL+76\":true,\"CTRL+SHIFT+79\":true,\"CTRL+SHIFT+77\":true,\"ALT+CTRL+77\":true,\"CTRL+87\":true,\"CTRL+88\":true,\"CTRL+89\":true,\"CTRL+75\":true,\"CTRL+80\":true,\"CTRL+SHIFT+87\":true,\"CTRL+118\":true,\"CTRL+SHIFT+118\":true,\"SHIFT+118\":true,\"116\":true,\"CTRL+SHIFT+70\":true,\"ALT+CTRL+SHIFT+68\":true,\"CTRL+70\":true,\"ALT+SHIFT+67\":true,\"ALT+CTRL+71\":true,\"CTRL+71\":true,\"ALT+CTRL+65\":true,\"CTRL+68\":true,\"CTRL+72\":true,\"CTRL+220\":true,\"CTRL+SHIFT+67\":true,\"ALT+CTRL+70\":true,\"CTRL+SHIFT+72\":true});"
}, {
"target": "w1",
"action": "call",
"method": "measureStrings",
"properties": {
"strings": [ [ -765114519, "-6,582,976", [ "Arial" ], 11, false, false, -1 ], [ 1648602619, "99.203", [ "Arial" ], 11, false, false, 0 ], [ -2036286892, "-0.25", [ "Arial" ], 11, false, false, 0 ], [ 1648640129, "99.384", [ "Arial" ], 11, false, false, 0 ], [ -1851479676, "0.61513", [ "Arial" ], 11, false, false, 0 ], [ -1546722780, "Select All", [ "Arial" ], 11, false, false, -1 ], [ 1552074570, "2.35996", [ "Arial" ], 11, false, false, 0 ], [ -1889447053, "24.25", [ "Arial" ], 11, false, false, 0 ], [ -1901343021, "0.49585", [ "Arial" ], 11, false, false, 0 ], [ -1907002505, "0.43190", [ "Arial" ], 11, false, false, 0 ], [ 1395212855, "Price All", [ "Arial" ], 11, false, false, -1 ], [ -2034440966, "-2.10", [ "Arial" ], 11, false, false, 0 ], [ 439527138, " ", [ "Arial" ], 11, false, false, 0 ], [ -1849539417, "0.63853", [ "Arial" ], 11, false, false, 0 ], [ 1648580485, "99.182", [ "Arial" ], 11, false, false, 0 ], [ 669894819, "ComplexSwap ", [ "Arial" ], 11, true, false, -1 ], [ 1648606432, "99.242", [ "Arial" ], 11, false, false, 0 ], [ 1648606463, "99.243", [ "Arial" ], 11, false, false, 0 ], [ -190891633, "1.35420", [ "Arial" ], 11, false, false, 0 ], [ -190891634, "1.35420", [ "Arial" ], 11, false, false, -1 ], [ 777854301, "ComplexSwap", [ "Arial" ], 11, true, false, -1 ], [ -74462639, "1.77680", [ "Arial" ], 11, false, false, 0 ], [ 1648637184, "99.352", [ "Arial" ], 11, false, false, 0 ], [ -888283454, "Solve", [ "Arial" ], 11, false, false, -1 ], [ -852494667, "Tweak", [ "Arial" ], 11, false, false, -1 ], [ 1648663255, "99.416", [ "Arial" ], 11, false, false, 0 ], [ -1827568418, "49.50", [ "Arial" ], 11, false, false, 0 ], [ 1648664216, "99.426", [ "Arial" ], 11, false, false, 0 ], [ -2036284133, "-0.51", [ "Arial" ], 11, false, false, 0 ], [ -2036285869, "-0.37", [ "Arial" ], 11, false, false, 0 ], [ -1916231239, "16.00", [ "Arial" ], 11, false, false, 0 ], [ -1228341502, " ", [ "Arial" ], 11, false, false, 0 ], [ -2036282924, "-0.69", [ "Arial" ], 11, false, false, 0 ], [ -1228341444, " ", [ "Arial" ], 11, false, false, 58 ], [ -48789524, "1.84010", [ "Arial" ], 11, false, false, 0 ], [ -925955150, "Reset", [ "Arial" ], 11, false, false, -1 ], [ -1845044789, "0.68414", [ "Arial" ], 11, false, false, 0 ], [ 971292130, "1.25", [ "Arial" ], 11, false, false, 0 ], [ -1761003541, "0.96420", [ "Arial" ], 11, false, false, 0 ], [ -1349038748, "Clone", [ "Arial" ], 11, false, false, -1 ], [ -1907695386, "0.42910", [ "Arial" ], 11, false, false, 0 ], [ -1829414406, "47.63", [ "Arial" ], 11, false, false, 0 ], [ 1648633526, "99.318", [ "Arial" ], 11, false, false, 0 ], [ -1885752969, "28.25", [ "Arial" ], 11, false, false, 0 ], [ -1877278589, "0.54716", [ "Arial" ], 11, false, false, 0 ], [ -1919918441, "12.75", [ "Arial" ], 11, false, false, 0 ], [ -103991286, "1.66720", [ "Arial" ], 11, false, false, 0 ], [ -251726622, "1.11805", [ "Arial" ], 11, false, false, 0 ], [ 1618169898, "24,305,775", [ "Arial" ], 11, false, false, -1 ], [ -1766426309, "0.90815", [ "Arial" ], 11, false, false, 0 ], [ -1506829176, "6,582,491", [ "Arial" ], 11, false, false, -1 ], [ -2029822245, "-7.25", [ "Arial" ], 11, false, false, 0 ], [ -1691815481, "91.05", [ "Arial" ], 11, false, false, 0 ], [ -1964086804, "0.23742", [ "Arial" ], 11, false, false, 0 ], [ -278875068, "RemoveAll", [ "Arial" ], 11, false, false, -1 ], [ -1891294095, "22.25", [ "Arial" ], 11, false, false, 0 ], [ 1462305452, "2.01300", [ "Arial" ], 11, false, false, 0 ], [ -1538706685, "Deselect All", [ "Arial" ], 11, false, false, -1 ], [ 1496475729, "2.17300", [ "Arial" ], 11, false, false, 0 ], [ -1856202374, "39.00", [ "Arial" ], 11, false, false, 0 ], [ -1398957851, "17,722,799", [ "Arial" ], 11, false, false, -1 ], [ -2036281033, "-0.88", [ "Arial" ], 11, false, false, 0 ], [ -1715206464, "117.723", [ "Arial" ], 11, false, false, -1 ], [ -1816442670, "0.78340", [ "Arial" ], 11, false, false, 0 ], [ -1845903799, "0.67668", [ "Arial" ], 11, false, false, 0 ], [ -765261707, "-6,582,491", [ "Arial" ], 11, false, false, -1 ], [ 1618118483, "ComplexSwap *", [ "Arial" ], 11, true, false, -1 ], [ 1648608416, "99.264", [ "Arial" ], 11, false, false, 0 ], [ 1620131196, "98.797", [ "Arial" ], 11, false, false, 0 ], [ -21023351, "1.93220", [ "Arial" ], 11, false, false, 0 ], [ -158567437, "1.49430", [ "Arial" ], 11, false, false, 0 ], [ -601866739, "-29.50", [ "Arial" ], 11, false, false, 0 ], [ -1844003034, "0.69805", [ "Arial" ], 11, false, false, 0 ], [ 1664468139, "2.73010", [ "Arial" ], 11, false, false, 0 ], [ 1607478111, "2.53915", [ "Arial" ], 11, false, false, 0 ], [ 999153968, "Move", [ "Arial" ], 11, false, false, -1 ], [ -1872718644, "0.59536", [ "Arial" ], 11, false, false, 0 ], [ -1296873197, "ComplexSwa", [ "Arial" ], 11, true, false, -1 ], [ 1640605548, "2.68510", [ "Arial" ], 11, false, false, 0 ], [ 927043969, "New", [ "Arial" ], 11, false, false, -1 ], [ -222142237, "1.22925", [ "Arial" ], 11, false, false, 0 ], [ -1849714133, "0.63299", [ "Arial" ], 11, false, false, 0 ], [ -2034435975, "-2.66", [ "Arial" ], 11, false, false, 0 ], [ 1648610431, "99.287", [ "Arial" ], 11, false, false, 0 ], [ 1648547811, "99.052", [ "Arial" ], 11, false, false, 0 ], [ -130947181, "1.58175", [ "Arial" ], 11, false, false, 0 ], [ -1874620556, "0.57383", [ "Arial" ], 11, false, false, 0 ], [ -1850496635, "0.62711", [ "Arial" ], 11, false, false, 0 ], [ -1834037870, "42.00", [ "Arial" ], 11, false, false, 0 ], [ 970368609, "0.25", [ "Arial" ], 11, false, false, 0 ], [ -971507976, "Price", [ "Arial" ], 11, false, false, -1 ], [ 1668162223, "2.77010", [ "Arial" ], 11, false, false, 0 ], [ 1598411429, "Price All PV", [ "Arial" ], 11, false, false, -1 ], [ -1819095743, "0.75728", [ "Arial" ], 11, false, false, 0 ], [ 1525135787, "2.27415", [ "Arial" ], 11, false, false, 0 ], [ 1607360714, "2.53530", [ "Arial" ], 11, false, false, 0 ], [ -2035363495, "-1.21", [ "Arial" ], 11, false, false, 0 ], [ 1638675860, "2.66280", [ "Arial" ], 11, false, false, 0 ], [ 1618119444, "ComplexSwap *", [ "Arial" ], 11, false, false, -1 ], [ 1466899032, "2.06260", [ "Arial" ], 11, false, false, 0 ], [ 1667303089, "2.76260", [ "Arial" ], 11, false, false, 0 ], [ -613858595, "Remove", [ "Arial" ], 11, false, false, -1 ], [ -1086032495, "3.05760", [ "Arial" ], 11, false, false, 0 ], [ 801266244, "Price PV", [ "Arial" ], 11, false, false, -1 ], [ -1902301138, "0.48435", [ "Arial" ], 11, false, false, 0 ], [ 1620095515, "98.633", [ "Arial" ], 11, false, false, 0 ], [ 1663641834, "2.72395", [ "Arial" ], 11, false, false, 0 ], [ 1648579679, "99.177", [ "Arial" ], 11, false, false, 0 ], [ 777855262, "ComplexSwap", [ "Arial" ], 11, false, false, -1 ], [ 439527190, " ", [ "Arial" ], 11, false, false, 52 ], [ -2035359620, "-1.62", [ "Arial" ], 11, false, false, 0 ], [ 1491057797, "2.11746", [ "Arial" ], 11, false, false, 0 ], [ 1648578563, "99.162", [ "Arial" ], 11, false, false, 0 ], [ -1411465719, "101.52", [ "Arial" ], 11, false, false, 0 ], [ -1822881153, "0.71407", [ "Arial" ], 11, false, false, 0 ], [ -1155478617, "Cancel", [ "Arial" ], 11, false, false, -1 ], [ 1670191049, "2.79645", [ "Arial" ], 11, false, false, 0 ], [ 970373414, "0.75", [ "Arial" ], 11, false, false, 0 ], [ -1823655843, "0.70903", [ "Arial" ], 11, false, false, 0 ], [ 1620037979, "98.457", [ "Arial" ], 11, false, false, 0 ], [ -1887597283, "26.50", [ "Arial" ], 11, false, false, 0 ], [ -575087358, "-37.25", [ "Arial" ], 11, false, false, 0 ], [ -1874446522, "0.57936", [ "Arial" ], 11, false, false, 0 ], [ -579700158, "-32.75", [ "Arial" ], 11, false, false, 0 ], [ 1648574750, "99.123", [ "Arial" ], 11, false, false, 0 ], [ -1859894381, "35.25", [ "Arial" ], 11, false, false, 0 ] ]
}
} ]
}

Incorrect Response:
{
"meta": {
"requestCounter": 89
},
"operations": [ {
"target": "w1",
"action": "call",
"method": "measureStrings",
"properties": {
"strings": [ [ -765114519, "-6,582,976", [ "Arial" ], 11, false, false, -1 ], [ 1648602619, "99.203", [ "Arial" ], 11, false, false, 0 ], [ -2036286892, "-0.25", [ "Arial" ], 11, false, false, 0 ], [ 1648640129, "99.384", [ "Arial" ], 11, false, false, 0 ], [ -1851479676, "0.61513", [ "Arial" ], 11, false, false, 0 ], [ -1546722780, "Select All", [ "Arial" ], 11, false, false, -1 ], [ 1552074570, "2.35996", [ "Arial" ], 11, false, false, 0 ], [ -1889447053, "24.25", [ "Arial" ], 11, false, false, 0 ], [ -1901343021, "0.49585", [ "Arial" ], 11, false, false, 0 ], [ -1907002505, "0.43190", [ "Arial" ], 11, false, false, 0 ], [ 1395212855, "Price All", [ "Arial" ], 11, false, false, -1 ], [ -2034440966, "-2.10", [ "Arial" ], 11, false, false, 0 ], [ 439527138, " ", [ "Arial" ], 11, false, false, 0 ], [ -1849539417, "0.63853", [ "Arial" ], 11, false, false, 0 ], [ 1648580485, "99.182", [ "Arial" ], 11, false, false, 0 ], [ 669894819, "ComplexSwap ", [ "Arial" ], 11, true, false, -1 ], [ 1648606432, "99.242", [ "Arial" ], 11, false, false, 0 ], [ 1648606463, "99.243", [ "Arial" ], 11, false, false, 0 ], [ -190891633, "1.35420", [ "Arial" ], 11, false, false, 0 ], [ -190891634, "1.35420", [ "Arial" ], 11, false, false, -1 ], [ 777854301, "ComplexSwap", [ "Arial" ], 11, true, false, -1 ], [ -74462639, "1.77680", [ "Arial" ], 11, false, false, 0 ], [ 1648637184, "99.352", [ "Arial" ], 11, false, false, 0 ], [ -888283454, "Solve", [ "Arial" ], 11, false, false, -1 ], [ -852494667, "Tweak", [ "Arial" ], 11, false, false, -1 ], [ 1648663255, "99.416", [ "Arial" ], 11, false, false, 0 ], [ -1827568418, "49.50", [ "Arial" ], 11, false, false, 0 ], [ 1648664216, "99.426", [ "Arial" ], 11, false, false, 0 ], [ -2036284133, "-0.51", [ "Arial" ], 11, false, false, 0 ], [ -2036285869, "-0.37", [ "Arial" ], 11, false, false, 0 ], [ -1916231239, "16.00", [ "Arial" ], 11, false, false, 0 ], [ -1228341502, " ", [ "Arial" ], 11, false, false, 0 ], [ -2036282924, "-0.69", [ "Arial" ], 11, false, false, 0 ], [ -1228341444, " ", [ "Arial" ], 11, false, false, 58 ], [ -48789524, "1.84010", [ "Arial" ], 11, false, false, 0 ], [ -925955150, "Reset", [ "Arial" ], 11, false, false, -1 ], [ -1845044789, "0.68414", [ "Arial" ], 11, false, false, 0 ], [ 971292130, "1.25", [ "Arial" ], 11, false, false, 0 ], [ -1761003541, "0.96420", [ "Arial" ], 11, false, false, 0 ], [ -1349038748, "Clone", [ "Arial" ], 11, false, false, -1 ], [ -1907695386, "0.42910", [ "Arial" ], 11, false, false, 0 ], [ -1829414406, "47.63", [ "Arial" ], 11, false, false, 0 ], [ 1648633526, "99.318", [ "Arial" ], 11, false, false, 0 ], [ -1885752969, "28.25", [ "Arial" ], 11, false, false, 0 ], [ -1804479402, "53.61", [ "Arial" ], 11, false, false, -1 ], [ -1877278589, "0.54716", [ "Arial" ], 11, false, false, 0 ], [ -1919918441, "12.75", [ "Arial" ], 11, false, false, 0 ], [ -103991286, "1.66720", [ "Arial" ], 11, false, false, 0 ], [ -251726622, "1.11805", [ "Arial" ], 11, false, false, 0 ], [ 1618169898, "24,305,775", [ "Arial" ], 11, false, false, -1 ], [ -1766426309, "0.90815", [ "Arial" ], 11, false, false, 0 ], [ -1506829176, "6,582,491", [ "Arial" ], 11, false, false, -1 ], [ -2029822245, "-7.25", [ "Arial" ], 11, false, false, 0 ], [ -1691815481, "91.05", [ "Arial" ], 11, false, false, 0 ], [ -1964086804, "0.23742", [ "Arial" ], 11, false, false, 0 ], [ 2045853544, "Sapphire took (5) seconds to load (0) transactions and (0) portfolios", [ "Arial" ], 11, false, false, 0 ], [ -1885751947, "28.37", [ "Arial" ], 11, false, false, -1 ], [ -278875068, "RemoveAll", [ "Arial" ], 11, false, false, -1 ], [ -1891294095, "22.25", [ "Arial" ], 11, false, false, 0 ], [ 1462305452, "2.01300", [ "Arial" ], 11, false, false, 0 ], [ -1538706685, "Deselect All", [ "Arial" ], 11, false, false, -1 ], [ 1496475729, "2.17300", [ "Arial" ], 11, false, false, 0 ], [ -1856202374, "39.00", [ "Arial" ], 11, false, false, 0 ], [ -1398957851, "17,722,799", [ "Arial" ], 11, false, false, -1 ], [ -2036281033, "-0.88", [ "Arial" ], 11, false, false, 0 ], [ -1715206464, "117.723", [ "Arial" ], 11, false, false, -1 ], [ -1816442670, "0.78340", [ "Arial" ], 11, false, false, 0 ], [ -1845903799, "0.67668", [ "Arial" ], 11, false, false, 0 ], [ -765261707, "-6,582,491", [ "Arial" ], 11, false, false, -1 ], [ 1618118483, "ComplexSwap *", [ "Arial" ], 11, true, false, -1 ], [ 1648608416, "99.264", [ "Arial" ], 11, false, false, 0 ], [ 1620131196, "98.797", [ "Arial" ], 11, false, false, 0 ], [ -21023351, "1.93220", [ "Arial" ], 11, false, false, 0 ], [ -158567437, "1.49430", [ "Arial" ], 11, false, false, 0 ], [ -601866739, "-29.50", [ "Arial" ], 11, false, false, 0 ], [ -1844003034, "0.69805", [ "Arial" ], 11, false, false, 0 ], [ 1664468139, "2.73010", [ "Arial" ], 11, false, false, 0 ], [ 1607478111, "2.53915", [ "Arial" ], 11, false, false, 0 ], [ 999153968, "Move", [ "Arial" ], 11, false, false, -1 ], [ -1872718644, "0.59536", [ "Arial" ], 11, false, false, 0 ], [ -1296873197, "ComplexSwa", [ "Arial" ], 11, true, false, -1 ], [ 1640605548, "2.68510", [ "Arial" ], 11, false, false, 0 ], [ 927043969, "New", [ "Arial" ], 11, false, false, -1 ], [ -222142237, "1.22925", [ "Arial" ], 11, false, false, 0 ], [ -1849714133, "0.63299", [ "Arial" ], 11, false, false, 0 ], [ -2034435975, "-2.66", [ "Arial" ], 11, false, false, 0 ], [ 1648610431, "99.287", [ "Arial" ], 11, false, false, 0 ], [ 1648547811, "99.052", [ "Arial" ], 11, false, false, 0 ], [ -130947181, "1.58175", [ "Arial" ], 11, false, false, 0 ], [ -1874620556, "0.57383", [ "Arial" ], 11, false, false, 0 ], [ -1850496635, "0.62711", [ "Arial" ], 11, false, false, 0 ], [ -1834037870, "42.00", [ "Arial" ], 11, false, false, 0 ], [ 970368609, "0.25", [ "Arial" ], 11, false, false, 0 ], [ -971507976, "Price", [ "Arial" ], 11, false, false, -1 ], [ 1668162223, "2.77010", [ "Arial" ], 11, false, false, 0 ], [ 1598411429, "Price All PV", [ "Arial" ], 11, false, false, -1 ], [ -1819095743, "0.75728", [ "Arial" ], 11, false, false, 0 ], [ 1525135787, "2.27415", [ "Arial" ], 11, false, false, 0 ], [ 1607360714, "2.53530", [ "Arial" ], 11, false, false, 0 ], [ -2035363495, "-1.21", [ "Arial" ], 11, false, false, 0 ], [ 1638675860, "2.66280", [ "Arial" ], 11, false, false, 0 ], [ 1618119444, "ComplexSwap *", [ "Arial" ], 11, false, false, -1 ], [ 1466899032, "2.06260", [ "Arial" ], 11, false, false, 0 ], [ 1667303089, "2.76260", [ "Arial" ], 11, false, false, 0 ], [ -613858595, "Remove", [ "Arial" ], 11, false, false, -1 ], [ -1086032495, "3.05760", [ "Arial" ], 11, false, false, 0 ], [ 801266244, "Price PV", [ "Arial" ], 11, false, false, -1 ], [ -1902301138, "0.48435", [ "Arial" ], 11, false, false, 0 ], [ 1620095515, "98.633", [ "Arial" ], 11, false, false, 0 ], [ 1663641834, "2.72395", [ "Arial" ], 11, false, false, 0 ], [ 1648579679, "99.177", [ "Arial" ], 11, false, false, 0 ], [ 777855262, "ComplexSwap", [ "Arial" ], 11, false, false, -1 ], [ 439527190, " ", [ "Arial" ], 11, false, false, 52 ], [ -2035359620, "-1.62", [ "Arial" ], 11, false, false, 0 ], [ 1491057797, "2.11746", [ "Arial" ], 11, false, false, 0 ], [ 1648578563, "99.162", [ "Arial" ], 11, false, false, 0 ], [ -1411465719, "101.52", [ "Arial" ], 11, false, false, 0 ], [ -1822881153, "0.71407", [ "Arial" ], 11, false, false, 0 ], [ -1155478617, "Cancel", [ "Arial" ], 11, false, false, -1 ], [ 1670191049, "2.79645", [ "Arial" ], 11, false, false, 0 ], [ 970373414, "0.75", [ "Arial" ], 11, false, false, 0 ], [ -1823655843, "0.70903", [ "Arial" ], 11, false, false, 0 ], [ 1620037979, "98.457", [ "Arial" ], 11, false, false, 0 ], [ -1887597283, "26.50", [ "Arial" ], 11, false, false, 0 ], [ -575087358, "-37.25", [ "Arial" ], 11, false, false, 0 ], [ -1874446522, "0.57936", [ "Arial" ], 11, false, false, 0 ], [ -579700158, "-32.75", [ "Arial" ], 11, false, false, 0 ], [ 1648574750, "99.123", [ "Arial" ], 11, false, false, 0 ], [ -1859894381, "35.25", [ "Arial" ], 11, false, false, 0 ] ]
}
} ]
}



If you notice in the correct response ---

At very start we have couple of json objects which have action=destroy which i think is correct to remove the rows from swt table. Same are missing from the incorrect response.
Any pointers??
Re: JMeter | Popups | Added Sample TestCase [message #774065 is a reply to message #773105] Tue, 03 January 2012 07:49 Go to previous messageGo to next message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
Since i was not getting the desired results..

I have created a test sceanrio.

1)Modified the org.eclipse.rap.demo to produce my sceanrio.(Source Code is Attached)
2)Double Click on (View ||| -> Root -> Parent 2)
3)Custom Message Box will appear.
4)On Tomcat Console - ( Double Clicked ) is printed.
5)Close Pop up using the X icon - (Close Button Clicked) is printed on tomcat console.

I have done steps 2,3,4,5 in the JMeter Loop Controller. So that they can be done mutiple times.

Added the test case (Test Case is Atatched). It can be run through Jmeter GUI.

Notice in the test case - loop Controller(loop count = 3)

Expected Result - Message Box should be opened and closed 3 times from the controller.

Actual Result - Message Box is opened and closed only once.

Test Case Env - Tomcat apache-tomcat-7.0.23, RAP 1.5M4, Dorg.eclipse.rwt.enableUITests=true

In the second round of the loop controller , the server json does not produce the correct json output.(Attached ActualResult.jtl)

Notice the response in /sapphire/rap;jsessionid=${snum}?nocache=1325570039896 which is not correct second time.

First Time Result-

{
"meta": {
"requestCounter": 15
},
"operations": [ {
"target": "w221",
"action": "destroy"
}, {
"target": "w222",
"action": "destroy"
}, {
"target": "w228",
"action": "destroy"
}, {
"target": "w224",
"action": "destroy"
}, {
"target": "w223",
"action": "destroy"
}, {
"target": "w227",
"action": "destroy"
}, {
"target": "w226",
"action": "destroy"
}, {
"target": "w225",
"action": "destroy"
}, {
"target": "w2",
"action": "set",
"properties": {
"active": true
}
}, {
"target": "w88",
"action": "set",
"properties": {
"toolTip": "Save (S)"
}
}, {
"target": "w89",
"action": "set",
"properties": {
"toolTip": "Save All (S)"
}
}, {
"target": "w52",
"action": "set",
"properties": {
"selectionBackground": [ 76, 166, 210, 255 ],
"selectionForeground": [ 0, 0, 0, 255 ],
"selectionBackgroundGradient": [ [ "#d2e8f3", "#4ca6d2" ], [ 0, 75 ], true ]
}
}, {
"target": "w1",
"action": "set",
"properties": {
"focusControl": "w53"
}
}, {
"target": "jsex",
"action": "executeScript",
"scriptType": "text/javascript",
"content": "org.eclipse.rwt.KeyEventUtil.getInstance().setKeyBindings({\"ALT+39\":true,\"CTRL+45\":true,\"CTRL+SHIFT+106\":true,\"ALT+34\":true,\"SHIFT+45\":true,\"CTRL+69\":true,\"CTRL+32\":true,\"ALT+37\":true,\"CTRL+SHIFT+117\":true,\"CTRL+117\":true,\"CTRL+77\":true,\"123\":true,\"CTRL+121\":true,\"ALT+45\":true,\"CTRL+188\":true,\"CTRL+190\":true,\"CTRL+78\":true,\"CTRL+87\":true,\"CTRL+119\":true,\"CTRL+SHIFT+119\":true,\"CTRL+SHIFT+111\":true,\"ALT+118\":true,\"ALT+SHIFT+118\":true,\"CTRL+SHIFT+118\":true,\"CTRL+118\":true,\"CTRL+89\":true,\"CTRL+90\":true,\"ALT+13\":true,\"CTRL+80\":true,\"113\":true,\"CTRL+SHIFT+83\":true,\"CTRL+83\":true,\"CTRL+SHIFT+115\":true,\"CTRL+SHIFT+87\":true,\"CTRL+115\":true,\"SHIFT+46\":true,\"CTRL+70\":true,\"CTRL+SHIFT+69\":true,\"CTRL+SHIFT+32\":true,\"ALT+33\":true});"
} ]
}

Second Time Result-
{
"meta": {
"requestCounter": 20
},
"operations": []
}


When the test cases are run, results from the server are not same for the same request. As RAP requires that requestCounter should be in the increasing order.I am making sure that this is met.

Any pointers/thoughts???
Re: JMeter | Popups | Added Sample TestCase [message #774067 is a reply to message #774065] Tue, 03 January 2012 07:56 Go to previous messageGo to next message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
Added Modified Dialog Screen Shot
Re: JMeter | Popups [message #774695 is a reply to message #773103] Wed, 04 January 2012 12:11 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1295
Registered: July 2009
Senior Member

Hi,

your problems might be related to the text size determination which
kicks in in the first session only. After you started the server, you
should click through the entire example once before recording.

HTH, Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: JMeter | Popups [message #775716 is a reply to message #774695] Fri, 06 January 2012 15:20 Go to previous messageGo to next message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
I will give a shot to your suggestion.

Thanks
Raj
Re: JMeter | Popups [message #775742 is a reply to message #774695] Fri, 06 January 2012 16:02 Go to previous message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
But i was thinking why it worked for the first time and fails for the second time. If text determination size would be the issue it would have failed first time also.

Hope i am thinking in right direction...or i missed any fact.

Thanks
Raj
Re: JMeter | Popups [message #775745 is a reply to message #774695] Fri, 06 January 2012 16:02 Go to previous message
Raj is currently offline RajFriend
Messages: 67
Registered: July 2009
Member
But i was thinking why it worked for the first time and fails for the second time. If text determination size would be the issue it would have failed first time also.

Hope i am thinking in right direction...or i missed any fact.

Thanks
Raj
Previous Topic:Chrome kills RAP Session
Next Topic:RAP Automated Testing
Goto Forum:
  


Current Time: Sat Nov 29 00:22:02 GMT 2014

Powered by FUDForum. Page generated in 0.07817 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software