Test duration : 63,241s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 8,121s |
2022-03-01 20:31:18 |
2022-03-01 20:31:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 20:31:18 | ------------------------------------ 2022-03-01 20:31:18 | [Mutex] waiting for: [configured:node:node-88e276b9-8f75-4ef3-91b3-31bfa383cf9e:node-7ed981a9-dedd-41d0-ad4b-b107ae847d9f] 2022-03-01 20:31:24 | [Mutex] received everything. 2022-03-01 20:31:25 | [Mutex] isItemNotified: configured:node:node-88e276b9-8f75-4ef3-91b3-31bfa383cf9e:node-7ed981a9-dedd-41d0-ad4b-b107ae847d9f :: true 2022-03-01 20:31:26 | [Mutex] waiting for: [received:nodes:ef58dbb7-d089-4c7e-b8b0-a0566b0efae2:localhost] 2022-03-01 20:31:27 | [Mutex] waiting for: [received:nodes:ef58dbb7-d089-4c7e-b8b0-a0566b0efae2:localhost] 2022-03-01 20:31:27 | [Mutex] received everything. 2022-03-01 20:31:27 | [Mutex] isItemNotified: received:node:ef58dbb7-d089-4c7e-b8b0-a0566b0efae2:localhost:node-88e276b9-8f75-4ef3-91b3-31bfa383cf9e:Node 88e276b9-8f75-4ef3-91b3-31bfa383cf9e :: true 2022-03-01 20:31:27 | [Mutex] waiting for: [received:nodes:4fdbc51c-d895-4145-a18a-488e33fe2a6c:localhost] 2022-03-01 20:31:27 | [Mutex] waiting for: [received:nodes:4fdbc51c-d895-4145-a18a-488e33fe2a6c:localhost] 2022-03-01 20:31:27 | [Mutex] waiting for: [received:nodes:4fdbc51c-d895-4145-a18a-488e33fe2a6c:localhost] 2022-03-01 20:31:27 | [Mutex] received everything. 2022-03-01 20:31:27 | [Mutex] isItemNotified: received:node:4fdbc51c-d895-4145-a18a-488e33fe2a6c:localhost:node-88e276b9-8f75-4ef3-91b3-31bfa383cf9e:Node 88e276b9-8f75-4ef3-91b3-31bfa383cf9e :: false |
createNodes | 15,554s |
2022-03-01 20:31:02 |
2022-03-01 20:31:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 20:31:02 | ------------------------------------ 2022-03-01 20:31:02 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-88e276b9-8f75-4ef3-91b3-31bfa383cf9e", "pubsub#title": "Node 88e276b9-8f75-4ef3-91b3-31bfa383cf9e" } 2022-03-01 20:31:03 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-03-01 20:31:09 | [Mutex] waiting for: [received:nodes:1494a6e5-7aa4-4dcc-a526-d75754fd6a51:localhost] 2022-03-01 20:31:16 | [Mutex] waiting for: [received:nodes:1494a6e5-7aa4-4dcc-a526-d75754fd6a51:localhost] 2022-03-01 20:31:16 | [Mutex] waiting for: [received:nodes:1494a6e5-7aa4-4dcc-a526-d75754fd6a51:localhost] 2022-03-01 20:31:16 | [Mutex] waiting for: [received:nodes:1494a6e5-7aa4-4dcc-a526-d75754fd6a51:localhost] 2022-03-01 20:31:16 | [Mutex] received everything. 2022-03-01 20:31:16 | [Mutex] isItemNotified: received:node:1494a6e5-7aa4-4dcc-a526-d75754fd6a51:localhost:node-88e276b9-8f75-4ef3-91b3-31bfa383cf9e:Node 88e276b9-8f75-4ef3-91b3-31bfa383cf9e :: true |
createSubnodes | 1,154s |
2022-03-01 20:31:17 |
2022-03-01 20:31:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 20:31:17 | ------------------------------------ 2022-03-01 20:31:17 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-7ed981a9-dedd-41d0-ad4b-b107ae847d9f", "pubsub#title": "Node 7ed981a9-dedd-41d0-ad4b-b107ae847d9f" } 2022-03-01 20:31:17 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-03-01 20:31:18 | [Mutex] waiting for: [received:nodes:7bbb57ac-7a4a-484b-b055-b87f18ac68c7:localhost] 2022-03-01 20:31:18 | [Mutex] waiting for: [received:nodes:7bbb57ac-7a4a-484b-b055-b87f18ac68c7:localhost] 2022-03-01 20:31:18 | [Mutex] waiting for: [received:nodes:7bbb57ac-7a4a-484b-b055-b87f18ac68c7:localhost] 2022-03-01 20:31:18 | [Mutex] received everything. 2022-03-01 20:31:18 | [Mutex] isItemNotified: received:node:7bbb57ac-7a4a-484b-b055-b87f18ac68c7:localhost:node-7ed981a9-dedd-41d0-ad4b-b107ae847d9f:Node 7ed981a9-dedd-41d0-ad4b-b107ae847d9f :: true |
deleteNodes | 1,119s |
2022-03-01 20:31:59 |
2022-03-01 20:31:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 20:31:59 | ------------------------------------ 2022-03-01 20:31:59 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-7ed981a9-dedd-41d0-ad4b-b107ae847d9f" } 2022-03-01 20:31:59 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-03-01 20:32:00 | [Mutex] waiting for: [received:nodes:090e59eb-38c2-412f-a0a0-82532a672df9:localhost] 2022-03-01 20:32:00 | [Mutex] waiting for: [received:nodes:090e59eb-38c2-412f-a0a0-82532a672df9:localhost] 2022-03-01 20:32:00 | [Mutex] received everything. 2022-03-01 20:32:00 | [Mutex] isItemNotified: received:node:090e59eb-38c2-412f-a0a0-82532a672df9:localhost:node-7ed981a9-dedd-41d0-ad4b-b107ae847d9f:Node 7ed981a9-dedd-41d0-ad4b-b107ae847d9f :: false |
deleteSubnodes | 1,177s |
2022-03-01 20:31:57 |
2022-03-01 20:31:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 20:31:57 | ------------------------------------ 2022-03-01 20:31:57 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-88e276b9-8f75-4ef3-91b3-31bfa383cf9e" } 2022-03-01 20:31:58 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-03-01 20:31:59 | [Mutex] waiting for: [received:nodes:c22c621a-d5cf-4793-8470-5e83f87e7694:localhost] 2022-03-01 20:31:59 | [Mutex] waiting for: [received:nodes:c22c621a-d5cf-4793-8470-5e83f87e7694:localhost] 2022-03-01 20:31:59 | [Mutex] waiting for: [received:nodes:c22c621a-d5cf-4793-8470-5e83f87e7694:localhost] 2022-03-01 20:31:59 | [Mutex] received everything. 2022-03-01 20:31:59 | [Mutex] isItemNotified: received:node:c22c621a-d5cf-4793-8470-5e83f87e7694:localhost:node-88e276b9-8f75-4ef3-91b3-31bfa383cf9e:Node 88e276b9-8f75-4ef3-91b3-31bfa383cf9e :: false 2022-03-01 20:31:59 | [Mutex] waiting for: [received:nodes:736e953b-7754-4e10-8f8a-6e56b0e67c93:localhost] 2022-03-01 20:31:59 | [Mutex] received everything. 2022-03-01 20:31:59 | [Mutex] isItemNotified: received:node:736e953b-7754-4e10-8f8a-6e56b0e67c93:localhost:node-88e276b9-8f75-4ef3-91b3-31bfa383cf9e:Node 88e276b9-8f75-4ef3-91b3-31bfa383cf9e :: false |
publishItemsToNodes | 11,832s |
2022-03-01 20:31:29 |
2022-03-01 20:31:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 20:31:29 | ------------------------------------ 2022-03-01 20:31:29 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-88e276b9-8f75-4ef3-91b3-31bfa383cf9e", "entry": "<test>item-06b00eb6-a88e-4f3c-a493-7f8b3e4c16fa</test>", "item-id": "item-06b00eb6-a88e-4f3c-a493-7f8b3e4c16fa" } 2022-03-01 20:31:29 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-06b00eb6-a88e-4f3c-a493-7f8b3e4c16fa" } 2022-03-01 20:31:30 | [Mutex] waiting for: [published:item:notifieditem-06b00eb6-a88e-4f3c-a493-7f8b3e4c16fa:admin@test-domain.com] 2022-03-01 20:31:37 | [Mutex] received everything. 2022-03-01 20:31:40 | [Mutex] isItemNotified: published:item:notifieditem-06b00eb6-a88e-4f3c-a493-7f8b3e4c16fa:admin@test-domain.com :: true |
retractItemsFromNodes | 4,034s |
2022-03-01 20:31:43 |
2022-03-01 20:31:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 20:31:43 | ------------------------------------ 2022-03-01 20:31:43 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-88e276b9-8f75-4ef3-91b3-31bfa383cf9e", "item-id": "item-06b00eb6-a88e-4f3c-a493-7f8b3e4c16fa" } 2022-03-01 20:31:43 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-06b00eb6-a88e-4f3c-a493-7f8b3e4c16fa" } 2022-03-01 20:31:44 | [Mutex] waiting for: [retracted:item:notifieditem-06b00eb6-a88e-4f3c-a493-7f8b3e4c16fa:admin@test-domain.com] 2022-03-01 20:31:47 | [Mutex] received everything. 2022-03-01 20:31:47 | [Mutex] isItemNotified: retracted:item:notifieditem-06b00eb6-a88e-4f3c-a493-7f8b3e4c16fa:admin@test-domain.com :: true |
retrieveItemsFromNodes | 1,824s |
2022-03-01 20:31:41 |
2022-03-01 20:31:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 20:31:41 | ------------------------------------ 2022-03-01 20:31:41 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-88e276b9-8f75-4ef3-91b3-31bfa383cf9e", "item-id": "item-06b00eb6-a88e-4f3c-a493-7f8b3e4c16fa" } 2022-03-01 20:31:43 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-88e276b9-8f75-4ef3-91b3-31bfa383cf9e", "item-id": "item-06b00eb6-a88e-4f3c-a493-7f8b3e4c16fa", "item": [ "<item id=\"item-06b00eb6-a88e-4f3c-a493-7f8b3e4c16fa\"><test>item-06b00eb6-a88e-4f3c-a493-7f8b3e4c16fa</test></item>" ] } 2022-03-01 20:31:43 | [Mutex] notify: [retrieved:item:item-06b00eb6-a88e-4f3c-a493-7f8b3e4c16fa:payload-matches:true:localhost] 2022-03-01 20:31:43 | [Mutex] received everything. 2022-03-01 20:31:43 | [Mutex] isItemNotified: retrieved:item:item-06b00eb6-a88e-4f3c-a493-7f8b3e4c16fa:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0,049s |
2022-03-01 20:31:43 |
2022-03-01 20:31:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 20:31:43 | ------------------------------------ 2022-03-01 20:31:43 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-03-01 20:31:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-88e276b9-8f75-4ef3-91b3-31bfa383cf9e", "test", "node-7ed981a9-dedd-41d0-ad4b-b107ae847d9f" ] } |
retrieveUserSubscriptionsWithRegex | 0,025s |
2022-03-01 20:31:43 |
2022-03-01 20:31:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 20:31:43 | ------------------------------------ 2022-03-01 20:31:43 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-88e276b9-8f75-4ef3-91b3-31bfa383cf9e)" } 2022-03-01 20:31:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1,937s |
2022-03-01 20:31:27 |
2022-03-01 20:31:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 20:31:27 | ------------------------------------ 2022-03-01 20:31:27 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-88e276b9-8f75-4ef3-91b3-31bfa383cf9e", "jids": [ "admin@test-domain.com" ] } 2022-03-01 20:31:28 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1,076s |
2022-03-01 20:31:56 |
2022-03-01 20:31:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-03-01 20:31:56 | ------------------------------------ 2022-03-01 20:31:56 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-88e276b9-8f75-4ef3-91b3-31bfa383cf9e", "jids": [ "admin@test-domain.com" ] } 2022-03-01 20:31:56 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |