Test duration : 8.598s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.094s |
2023-07-11 22:45:12 |
2023-07-11 22:45:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-11 22:45:12 | ------------------------------------ 2023-07-11 22:45:12 | [Mutex] waiting for: [configured:node:node-42a506d0-bba5-4ff8-9cd5-517791a26c37:node-b901918b-7f69-4462-a0a5-76b374af04c3] 2023-07-11 22:45:13 | [Mutex] received everything. 2023-07-11 22:45:13 | [Mutex] isItemNotified: configured:node:node-42a506d0-bba5-4ff8-9cd5-517791a26c37:node-b901918b-7f69-4462-a0a5-76b374af04c3 :: true 2023-07-11 22:45:14 | [Mutex] waiting for: [received:nodes:2a63702e-e489-4a35-ad9e-0b6d2aa06dc0:localhost] 2023-07-11 22:45:14 | [Mutex] received everything. 2023-07-11 22:45:14 | [Mutex] isItemNotified: received:node:2a63702e-e489-4a35-ad9e-0b6d2aa06dc0:localhost:node-42a506d0-bba5-4ff8-9cd5-517791a26c37:Node 42a506d0-bba5-4ff8-9cd5-517791a26c37 :: true 2023-07-11 22:45:14 | [Mutex] waiting for: [received:nodes:5752a56c-5195-4ade-8a6d-e2c60d8950d9:localhost] 2023-07-11 22:45:14 | [Mutex] waiting for: [received:nodes:5752a56c-5195-4ade-8a6d-e2c60d8950d9:localhost] 2023-07-11 22:45:14 | [Mutex] received everything. 2023-07-11 22:45:14 | [Mutex] isItemNotified: received:node:5752a56c-5195-4ade-8a6d-e2c60d8950d9:localhost:node-42a506d0-bba5-4ff8-9cd5-517791a26c37:Node 42a506d0-bba5-4ff8-9cd5-517791a26c37 :: false |
createNodes | 1.633s |
2023-07-11 22:45:10 |
2023-07-11 22:45:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-11 22:45:10 | ------------------------------------ 2023-07-11 22:45:10 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-42a506d0-bba5-4ff8-9cd5-517791a26c37", "pubsub#title": "Node 42a506d0-bba5-4ff8-9cd5-517791a26c37" } 2023-07-11 22:45:10 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-11 22:45:11 | [Mutex] waiting for: [received:nodes:e102c7fe-b898-4ea1-a7c0-14a4a0f6b08d:localhost] 2023-07-11 22:45:11 | [Mutex] waiting for: [received:nodes:e102c7fe-b898-4ea1-a7c0-14a4a0f6b08d:localhost] 2023-07-11 22:45:11 | [Mutex] waiting for: [received:nodes:e102c7fe-b898-4ea1-a7c0-14a4a0f6b08d:localhost] 2023-07-11 22:45:11 | [Mutex] received everything. 2023-07-11 22:45:11 | [Mutex] isItemNotified: received:node:e102c7fe-b898-4ea1-a7c0-14a4a0f6b08d:localhost:node-42a506d0-bba5-4ff8-9cd5-517791a26c37:Node 42a506d0-bba5-4ff8-9cd5-517791a26c37 :: true |
createSubnodes | 1.038s |
2023-07-11 22:45:11 |
2023-07-11 22:45:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-11 22:45:11 | ------------------------------------ 2023-07-11 22:45:11 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-b901918b-7f69-4462-a0a5-76b374af04c3", "pubsub#title": "Node b901918b-7f69-4462-a0a5-76b374af04c3" } 2023-07-11 22:45:11 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-11 22:45:12 | [Mutex] waiting for: [received:nodes:a9eb6928-1dbd-4574-bf46-5bc6adbec1f6:localhost] 2023-07-11 22:45:12 | [Mutex] waiting for: [received:nodes:a9eb6928-1dbd-4574-bf46-5bc6adbec1f6:localhost] 2023-07-11 22:45:12 | [Mutex] waiting for: [received:nodes:a9eb6928-1dbd-4574-bf46-5bc6adbec1f6:localhost] 2023-07-11 22:45:12 | [Mutex] waiting for: [received:nodes:a9eb6928-1dbd-4574-bf46-5bc6adbec1f6:localhost] 2023-07-11 22:45:12 | [Mutex] received everything. 2023-07-11 22:45:12 | [Mutex] isItemNotified: received:node:a9eb6928-1dbd-4574-bf46-5bc6adbec1f6:localhost:node-b901918b-7f69-4462-a0a5-76b374af04c3:Node b901918b-7f69-4462-a0a5-76b374af04c3 :: true |
deleteNodes | 1.028s |
2023-07-11 22:45:17 |
2023-07-11 22:45:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-11 22:45:17 | ------------------------------------ 2023-07-11 22:45:17 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-b901918b-7f69-4462-a0a5-76b374af04c3" } 2023-07-11 22:45:17 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-11 22:45:18 | [Mutex] waiting for: [received:nodes:04ea71d2-0397-486e-9281-71cc912ded78:localhost] 2023-07-11 22:45:18 | [Mutex] waiting for: [received:nodes:04ea71d2-0397-486e-9281-71cc912ded78:localhost] 2023-07-11 22:45:18 | [Mutex] waiting for: [received:nodes:04ea71d2-0397-486e-9281-71cc912ded78:localhost] 2023-07-11 22:45:18 | [Mutex] received everything. 2023-07-11 22:45:18 | [Mutex] isItemNotified: received:node:04ea71d2-0397-486e-9281-71cc912ded78:localhost:node-b901918b-7f69-4462-a0a5-76b374af04c3:Node b901918b-7f69-4462-a0a5-76b374af04c3 :: false |
deleteSubnodes | 1.034s |
2023-07-11 22:45:16 |
2023-07-11 22:45:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-11 22:45:16 | ------------------------------------ 2023-07-11 22:45:16 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-42a506d0-bba5-4ff8-9cd5-517791a26c37" } 2023-07-11 22:45:16 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-07-11 22:45:17 | [Mutex] waiting for: [received:nodes:c576739a-155e-4ad2-a654-9e5cd9ec6136:localhost] 2023-07-11 22:45:17 | [Mutex] waiting for: [received:nodes:c576739a-155e-4ad2-a654-9e5cd9ec6136:localhost] 2023-07-11 22:45:17 | [Mutex] waiting for: [received:nodes:c576739a-155e-4ad2-a654-9e5cd9ec6136:localhost] 2023-07-11 22:45:17 | [Mutex] waiting for: [received:nodes:c576739a-155e-4ad2-a654-9e5cd9ec6136:localhost] 2023-07-11 22:45:17 | [Mutex] received everything. 2023-07-11 22:45:17 | [Mutex] isItemNotified: received:node:c576739a-155e-4ad2-a654-9e5cd9ec6136:localhost:node-42a506d0-bba5-4ff8-9cd5-517791a26c37:Node 42a506d0-bba5-4ff8-9cd5-517791a26c37 :: false 2023-07-11 22:45:17 | [Mutex] waiting for: [received:nodes:5d63a603-d161-4a98-b56b-d5d424a9c88c:localhost] 2023-07-11 22:45:17 | [Mutex] received everything. 2023-07-11 22:45:17 | [Mutex] isItemNotified: received:node:5d63a603-d161-4a98-b56b-d5d424a9c88c:localhost:node-42a506d0-bba5-4ff8-9cd5-517791a26c37:Node 42a506d0-bba5-4ff8-9cd5-517791a26c37 :: false |
publishItemsToNodes | 0.057s |
2023-07-11 22:45:15 |
2023-07-11 22:45:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-11 22:45:15 | ------------------------------------ 2023-07-11 22:45:15 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-42a506d0-bba5-4ff8-9cd5-517791a26c37", "entry": "<test>item-e288564b-4d26-40ab-903d-567dc4d59d78</test>", "item-id": "item-e288564b-4d26-40ab-903d-567dc4d59d78" } 2023-07-11 22:45:15 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-e288564b-4d26-40ab-903d-567dc4d59d78" } 2023-07-11 22:45:15 | [Mutex] waiting for: [published:item:notifieditem-e288564b-4d26-40ab-903d-567dc4d59d78:admin@test-domain.com] 2023-07-11 22:45:15 | [Mutex] received everything. 2023-07-11 22:45:15 | [Mutex] isItemNotified: published:item:notifieditem-e288564b-4d26-40ab-903d-567dc4d59d78:admin@test-domain.com :: true |
retractItemsFromNodes | 0.059s |
2023-07-11 22:45:15 |
2023-07-11 22:45:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-11 22:45:15 | ------------------------------------ 2023-07-11 22:45:15 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-42a506d0-bba5-4ff8-9cd5-517791a26c37", "item-id": "item-e288564b-4d26-40ab-903d-567dc4d59d78" } 2023-07-11 22:45:15 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-e288564b-4d26-40ab-903d-567dc4d59d78" } 2023-07-11 22:45:15 | [Mutex] received everything. 2023-07-11 22:45:15 | [Mutex] isItemNotified: retracted:item:notifieditem-e288564b-4d26-40ab-903d-567dc4d59d78:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.032s |
2023-07-11 22:45:15 |
2023-07-11 22:45:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-11 22:45:15 | ------------------------------------ 2023-07-11 22:45:15 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-42a506d0-bba5-4ff8-9cd5-517791a26c37", "item-id": "item-e288564b-4d26-40ab-903d-567dc4d59d78" } 2023-07-11 22:45:15 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-42a506d0-bba5-4ff8-9cd5-517791a26c37", "item-id": "item-e288564b-4d26-40ab-903d-567dc4d59d78", "item": [ "<item id=\"item-e288564b-4d26-40ab-903d-567dc4d59d78\"><test>item-e288564b-4d26-40ab-903d-567dc4d59d78</test></item>" ] } 2023-07-11 22:45:15 | [Mutex] notify: [retrieved:item:item-e288564b-4d26-40ab-903d-567dc4d59d78:payload-matches:true:localhost] 2023-07-11 22:45:15 | [Mutex] received everything. 2023-07-11 22:45:15 | [Mutex] isItemNotified: retrieved:item:item-e288564b-4d26-40ab-903d-567dc4d59d78:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2023-07-11 22:45:15 |
2023-07-11 22:45:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-11 22:45:15 | ------------------------------------ 2023-07-11 22:45:15 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-07-11 22:45:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-b901918b-7f69-4462-a0a5-76b374af04c3", "test", "node-42a506d0-bba5-4ff8-9cd5-517791a26c37" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2023-07-11 22:45:15 |
2023-07-11 22:45:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-11 22:45:15 | ------------------------------------ 2023-07-11 22:45:15 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-42a506d0-bba5-4ff8-9cd5-517791a26c37)" } 2023-07-11 22:45:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2023-07-11 22:45:14 |
2023-07-11 22:45:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-11 22:45:14 | ------------------------------------ 2023-07-11 22:45:14 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-42a506d0-bba5-4ff8-9cd5-517791a26c37", "jids": [ "admin@test-domain.com" ] } 2023-07-11 22:45:14 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.067s |
2023-07-11 22:45:15 |
2023-07-11 22:45:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-07-11 22:45:15 | ------------------------------------ 2023-07-11 22:45:15 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-42a506d0-bba5-4ff8-9cd5-517791a26c37", "jids": [ "admin@test-domain.com" ] } 2023-07-11 22:45:15 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |