Test duration : 9.035s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.093s |
2020-09-15 00:01:44 |
2020-09-15 00:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-15 00:01:44 | ------------------------------------ 2020-09-15 00:01:44 | [Mutex] waiting for: [configured:node:node-b930b5d5-342e-46a8-b423-4bbcebe482d4:node-38a932b3-ef9a-499e-a9db-6c0820168cd9] 2020-09-15 00:01:44 | [Mutex] received everything. 2020-09-15 00:01:44 | [Mutex] isItemNotified: configured:node:node-b930b5d5-342e-46a8-b423-4bbcebe482d4:node-38a932b3-ef9a-499e-a9db-6c0820168cd9 :: true 2020-09-15 00:01:45 | [Mutex] waiting for: [received:nodes:9bf6527a-712d-4bfa-894e-14226173d16d:localhost] 2020-09-15 00:01:45 | [Mutex] received everything. 2020-09-15 00:01:45 | [Mutex] isItemNotified: received:node:9bf6527a-712d-4bfa-894e-14226173d16d:localhost:node-b930b5d5-342e-46a8-b423-4bbcebe482d4:Node b930b5d5-342e-46a8-b423-4bbcebe482d4 :: true 2020-09-15 00:01:45 | [Mutex] waiting for: [received:nodes:03111d80-3c26-4328-b3c9-5bc19a806624:localhost] 2020-09-15 00:01:45 | [Mutex] received everything. 2020-09-15 00:01:45 | [Mutex] isItemNotified: received:node:03111d80-3c26-4328-b3c9-5bc19a806624:localhost:node-b930b5d5-342e-46a8-b423-4bbcebe482d4:Node b930b5d5-342e-46a8-b423-4bbcebe482d4 :: false |
createNodes | 1.645s |
2020-09-15 00:01:41 |
2020-09-15 00:01:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-15 00:01:41 | ------------------------------------ 2020-09-15 00:01:41 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-b930b5d5-342e-46a8-b423-4bbcebe482d4", "pubsub#title": "Node b930b5d5-342e-46a8-b423-4bbcebe482d4" } 2020-09-15 00:01:41 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-15 00:01:43 | [Mutex] waiting for: [received:nodes:1d7a0f5e-f86b-42f0-a501-23521f335110:localhost] 2020-09-15 00:01:43 | [Mutex] received everything. 2020-09-15 00:01:43 | [Mutex] isItemNotified: received:node:1d7a0f5e-f86b-42f0-a501-23521f335110:localhost:node-b930b5d5-342e-46a8-b423-4bbcebe482d4:Node b930b5d5-342e-46a8-b423-4bbcebe482d4 :: true |
createSubnodes | 1.030s |
2020-09-15 00:01:43 |
2020-09-15 00:01:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-15 00:01:43 | ------------------------------------ 2020-09-15 00:01:43 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-38a932b3-ef9a-499e-a9db-6c0820168cd9", "pubsub#title": "Node 38a932b3-ef9a-499e-a9db-6c0820168cd9" } 2020-09-15 00:01:43 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-15 00:01:44 | [Mutex] waiting for: [received:nodes:f36f27ba-f373-4e54-abfe-29749194879d:localhost] 2020-09-15 00:01:44 | [Mutex] received everything. 2020-09-15 00:01:44 | [Mutex] isItemNotified: received:node:f36f27ba-f373-4e54-abfe-29749194879d:localhost:node-38a932b3-ef9a-499e-a9db-6c0820168cd9:Node 38a932b3-ef9a-499e-a9db-6c0820168cd9 :: true |
deleteNodes | 1.026s |
2020-09-15 00:01:48 |
2020-09-15 00:01:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-15 00:01:48 | ------------------------------------ 2020-09-15 00:01:48 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-38a932b3-ef9a-499e-a9db-6c0820168cd9" } 2020-09-15 00:01:48 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-15 00:01:49 | [Mutex] waiting for: [received:nodes:7d7962e2-e4e0-40dc-979a-1dd330850b9c:localhost] 2020-09-15 00:01:49 | [Mutex] received everything. 2020-09-15 00:01:49 | [Mutex] isItemNotified: received:node:7d7962e2-e4e0-40dc-979a-1dd330850b9c:localhost:node-38a932b3-ef9a-499e-a9db-6c0820168cd9:Node 38a932b3-ef9a-499e-a9db-6c0820168cd9 :: false |
deleteSubnodes | 1.031s |
2020-09-15 00:01:47 |
2020-09-15 00:01:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-15 00:01:47 | ------------------------------------ 2020-09-15 00:01:47 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-b930b5d5-342e-46a8-b423-4bbcebe482d4" } 2020-09-15 00:01:47 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-15 00:01:48 | [Mutex] waiting for: [received:nodes:2e3e776a-fa3c-4928-9bc1-f424ac05ced5:localhost] 2020-09-15 00:01:48 | [Mutex] received everything. 2020-09-15 00:01:48 | [Mutex] isItemNotified: received:node:2e3e776a-fa3c-4928-9bc1-f424ac05ced5:localhost:node-b930b5d5-342e-46a8-b423-4bbcebe482d4:Node b930b5d5-342e-46a8-b423-4bbcebe482d4 :: false 2020-09-15 00:01:48 | [Mutex] waiting for: [received:nodes:10c275e0-c406-44cb-86e5-7266c5fa9275:localhost] 2020-09-15 00:01:48 | [Mutex] received everything. 2020-09-15 00:01:48 | [Mutex] isItemNotified: received:node:10c275e0-c406-44cb-86e5-7266c5fa9275:localhost:node-b930b5d5-342e-46a8-b423-4bbcebe482d4:Node b930b5d5-342e-46a8-b423-4bbcebe482d4 :: false |
publishItemsToNodes | 0.051s |
2020-09-15 00:01:46 |
2020-09-15 00:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-15 00:01:46 | ------------------------------------ 2020-09-15 00:01:46 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-b930b5d5-342e-46a8-b423-4bbcebe482d4", "entry": "<test>item-0b8b7423-7bb5-4eb1-b14a-8b671ed65526</test>", "item-id": "item-0b8b7423-7bb5-4eb1-b14a-8b671ed65526" } 2020-09-15 00:01:46 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-0b8b7423-7bb5-4eb1-b14a-8b671ed65526" } 2020-09-15 00:01:46 | [Mutex] received everything. 2020-09-15 00:01:46 | [Mutex] isItemNotified: published:item:notifieditem-0b8b7423-7bb5-4eb1-b14a-8b671ed65526:admin@test-domain.com :: true |
retractItemsFromNodes | 0.067s |
2020-09-15 00:01:46 |
2020-09-15 00:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-15 00:01:46 | ------------------------------------ 2020-09-15 00:01:46 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-b930b5d5-342e-46a8-b423-4bbcebe482d4", "item-id": "item-0b8b7423-7bb5-4eb1-b14a-8b671ed65526" } 2020-09-15 00:01:46 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-0b8b7423-7bb5-4eb1-b14a-8b671ed65526" } 2020-09-15 00:01:46 | [Mutex] received everything. 2020-09-15 00:01:46 | [Mutex] isItemNotified: retracted:item:notifieditem-0b8b7423-7bb5-4eb1-b14a-8b671ed65526:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.070s |
2020-09-15 00:01:46 |
2020-09-15 00:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-15 00:01:46 | ------------------------------------ 2020-09-15 00:01:46 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-b930b5d5-342e-46a8-b423-4bbcebe482d4", "item-id": "item-0b8b7423-7bb5-4eb1-b14a-8b671ed65526" } 2020-09-15 00:01:46 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-b930b5d5-342e-46a8-b423-4bbcebe482d4", "item-id": "item-0b8b7423-7bb5-4eb1-b14a-8b671ed65526", "item": [ "<item id=\"item-0b8b7423-7bb5-4eb1-b14a-8b671ed65526\"><test>item-0b8b7423-7bb5-4eb1-b14a-8b671ed65526</test></item>" ] } 2020-09-15 00:01:46 | [Mutex] notify: [retrieved:item:item-0b8b7423-7bb5-4eb1-b14a-8b671ed65526:payload-matches:true:localhost] 2020-09-15 00:01:46 | [Mutex] received everything. 2020-09-15 00:01:46 | [Mutex] isItemNotified: retrieved:item:item-0b8b7423-7bb5-4eb1-b14a-8b671ed65526:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2020-09-15 00:01:46 |
2020-09-15 00:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-15 00:01:46 | ------------------------------------ 2020-09-15 00:01:46 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2020-09-15 00:01:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-b930b5d5-342e-46a8-b423-4bbcebe482d4", "node-38a932b3-ef9a-499e-a9db-6c0820168cd9" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2020-09-15 00:01:46 |
2020-09-15 00:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-15 00:01:46 | ------------------------------------ 2020-09-15 00:01:46 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-b930b5d5-342e-46a8-b423-4bbcebe482d4)" } 2020-09-15 00:01:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2020-09-15 00:01:45 |
2020-09-15 00:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-15 00:01:45 | ------------------------------------ 2020-09-15 00:01:45 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-b930b5d5-342e-46a8-b423-4bbcebe482d4", "jids": [ "admin@test-domain.com" ] } 2020-09-15 00:01:45 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.055s |
2020-09-15 00:01:46 |
2020-09-15 00:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-15 00:01:46 | ------------------------------------ 2020-09-15 00:01:46 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-b930b5d5-342e-46a8-b423-4bbcebe482d4", "jids": [ "admin@test-domain.com" ] } 2020-09-15 00:01:46 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |