Test duration : 9.099s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.039s |
2021-05-03 22:57:42 |
2021-05-03 22:57:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-03 22:57:42 | ------------------------------------ 2021-05-03 22:57:42 | [Mutex] waiting for: [configured:node:node-7c1961da-fd96-4664-9311-50716acb04e8:node-7a5f812f-b925-4bc1-8916-e5621d237074] 2021-05-03 22:57:42 | [Mutex] received everything. 2021-05-03 22:57:42 | [Mutex] isItemNotified: configured:node:node-7c1961da-fd96-4664-9311-50716acb04e8:node-7a5f812f-b925-4bc1-8916-e5621d237074 :: true 2021-05-03 22:57:43 | [Mutex] waiting for: [received:nodes:27d652fb-ac8c-4b60-bdd0-e5907bfcaa83:localhost] 2021-05-03 22:57:43 | [Mutex] received everything. 2021-05-03 22:57:43 | [Mutex] isItemNotified: received:node:27d652fb-ac8c-4b60-bdd0-e5907bfcaa83:localhost:node-7c1961da-fd96-4664-9311-50716acb04e8:Node 7c1961da-fd96-4664-9311-50716acb04e8 :: true 2021-05-03 22:57:43 | [Mutex] waiting for: [received:nodes:3317bcf1-bacb-4cb1-a010-e2aacf68939e:localhost] 2021-05-03 22:57:43 | [Mutex] waiting for: [received:nodes:3317bcf1-bacb-4cb1-a010-e2aacf68939e:localhost] 2021-05-03 22:57:43 | [Mutex] received everything. 2021-05-03 22:57:43 | [Mutex] isItemNotified: received:node:3317bcf1-bacb-4cb1-a010-e2aacf68939e:localhost:node-7c1961da-fd96-4664-9311-50716acb04e8:Node 7c1961da-fd96-4664-9311-50716acb04e8 :: false |
createNodes | 1.698s |
2021-05-03 22:57:39 |
2021-05-03 22:57:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-03 22:57:39 | ------------------------------------ 2021-05-03 22:57:40 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-7c1961da-fd96-4664-9311-50716acb04e8", "pubsub#title": "Node 7c1961da-fd96-4664-9311-50716acb04e8" } 2021-05-03 22:57:40 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-05-03 22:57:41 | [Mutex] waiting for: [received:nodes:52ceb5bd-59d8-4a7c-9f2f-1ffadec6dcf3:localhost] 2021-05-03 22:57:41 | [Mutex] waiting for: [received:nodes:52ceb5bd-59d8-4a7c-9f2f-1ffadec6dcf3:localhost] 2021-05-03 22:57:41 | [Mutex] waiting for: [received:nodes:52ceb5bd-59d8-4a7c-9f2f-1ffadec6dcf3:localhost] 2021-05-03 22:57:41 | [Mutex] received everything. 2021-05-03 22:57:41 | [Mutex] isItemNotified: received:node:52ceb5bd-59d8-4a7c-9f2f-1ffadec6dcf3:localhost:node-7c1961da-fd96-4664-9311-50716acb04e8:Node 7c1961da-fd96-4664-9311-50716acb04e8 :: true |
createSubnodes | 1.078s |
2021-05-03 22:57:41 |
2021-05-03 22:57:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-03 22:57:41 | ------------------------------------ 2021-05-03 22:57:41 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-7a5f812f-b925-4bc1-8916-e5621d237074", "pubsub#title": "Node 7a5f812f-b925-4bc1-8916-e5621d237074" } 2021-05-03 22:57:41 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-05-03 22:57:42 | [Mutex] waiting for: [received:nodes:f3c2bc16-e348-47a1-bafb-c9b9433d3f2b:localhost] 2021-05-03 22:57:42 | [Mutex] received everything. 2021-05-03 22:57:42 | [Mutex] isItemNotified: received:node:f3c2bc16-e348-47a1-bafb-c9b9433d3f2b:localhost:node-7a5f812f-b925-4bc1-8916-e5621d237074:Node 7a5f812f-b925-4bc1-8916-e5621d237074 :: true |
deleteNodes | 1.033s |
2021-05-03 22:57:46 |
2021-05-03 22:57:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-03 22:57:46 | ------------------------------------ 2021-05-03 22:57:46 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-7a5f812f-b925-4bc1-8916-e5621d237074" } 2021-05-03 22:57:46 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-05-03 22:57:47 | [Mutex] waiting for: [received:nodes:e54fe6c7-e52a-4d67-9afa-13fc5b57dc1d:localhost] 2021-05-03 22:57:47 | [Mutex] received everything. 2021-05-03 22:57:47 | [Mutex] isItemNotified: received:node:e54fe6c7-e52a-4d67-9afa-13fc5b57dc1d:localhost:node-7a5f812f-b925-4bc1-8916-e5621d237074:Node 7a5f812f-b925-4bc1-8916-e5621d237074 :: false |
deleteSubnodes | 1.030s |
2021-05-03 22:57:45 |
2021-05-03 22:57:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-03 22:57:45 | ------------------------------------ 2021-05-03 22:57:45 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-7c1961da-fd96-4664-9311-50716acb04e8" } 2021-05-03 22:57:45 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-05-03 22:57:46 | [Mutex] waiting for: [received:nodes:c906d23a-25f0-4be0-b5cf-f372be16e2a7:localhost] 2021-05-03 22:57:46 | [Mutex] waiting for: [received:nodes:c906d23a-25f0-4be0-b5cf-f372be16e2a7:localhost] 2021-05-03 22:57:46 | [Mutex] received everything. 2021-05-03 22:57:46 | [Mutex] isItemNotified: received:node:c906d23a-25f0-4be0-b5cf-f372be16e2a7:localhost:node-7c1961da-fd96-4664-9311-50716acb04e8:Node 7c1961da-fd96-4664-9311-50716acb04e8 :: false 2021-05-03 22:57:46 | [Mutex] waiting for: [received:nodes:1eb05a15-967a-4988-9184-e1f8c4288d4c:localhost] 2021-05-03 22:57:46 | [Mutex] received everything. 2021-05-03 22:57:46 | [Mutex] isItemNotified: received:node:1eb05a15-967a-4988-9184-e1f8c4288d4c:localhost:node-7c1961da-fd96-4664-9311-50716acb04e8:Node 7c1961da-fd96-4664-9311-50716acb04e8 :: false |
publishItemsToNodes | 0.058s |
2021-05-03 22:57:44 |
2021-05-03 22:57:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-03 22:57:44 | ------------------------------------ 2021-05-03 22:57:44 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-7c1961da-fd96-4664-9311-50716acb04e8", "entry": "<test>item-adf6812f-bc84-498e-9653-1dcb9fb4f6d8</test>", "item-id": "item-adf6812f-bc84-498e-9653-1dcb9fb4f6d8" } 2021-05-03 22:57:44 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-adf6812f-bc84-498e-9653-1dcb9fb4f6d8" } 2021-05-03 22:57:44 | [Mutex] waiting for: [published:item:notifieditem-adf6812f-bc84-498e-9653-1dcb9fb4f6d8:admin@test-domain.com] 2021-05-03 22:57:44 | [Mutex] received everything. 2021-05-03 22:57:44 | [Mutex] isItemNotified: published:item:notifieditem-adf6812f-bc84-498e-9653-1dcb9fb4f6d8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.072s |
2021-05-03 22:57:44 |
2021-05-03 22:57:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-03 22:57:44 | ------------------------------------ 2021-05-03 22:57:44 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-7c1961da-fd96-4664-9311-50716acb04e8", "item-id": "item-adf6812f-bc84-498e-9653-1dcb9fb4f6d8" } 2021-05-03 22:57:44 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-adf6812f-bc84-498e-9653-1dcb9fb4f6d8" } 2021-05-03 22:57:44 | [Mutex] received everything. 2021-05-03 22:57:44 | [Mutex] isItemNotified: retracted:item:notifieditem-adf6812f-bc84-498e-9653-1dcb9fb4f6d8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.108s |
2021-05-03 22:57:44 |
2021-05-03 22:57:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-03 22:57:44 | ------------------------------------ 2021-05-03 22:57:44 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-7c1961da-fd96-4664-9311-50716acb04e8", "item-id": "item-adf6812f-bc84-498e-9653-1dcb9fb4f6d8" } 2021-05-03 22:57:44 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-7c1961da-fd96-4664-9311-50716acb04e8", "item-id": "item-adf6812f-bc84-498e-9653-1dcb9fb4f6d8", "item": [ "<item id=\"item-adf6812f-bc84-498e-9653-1dcb9fb4f6d8\"><test>item-adf6812f-bc84-498e-9653-1dcb9fb4f6d8</test></item>" ] } 2021-05-03 22:57:44 | [Mutex] notify: [retrieved:item:item-adf6812f-bc84-498e-9653-1dcb9fb4f6d8:payload-matches:true:localhost] 2021-05-03 22:57:44 | [Mutex] received everything. 2021-05-03 22:57:44 | [Mutex] isItemNotified: retrieved:item:item-adf6812f-bc84-498e-9653-1dcb9fb4f6d8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-05-03 22:57:44 |
2021-05-03 22:57:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-03 22:57:44 | ------------------------------------ 2021-05-03 22:57:44 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-05-03 22:57:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-7c1961da-fd96-4664-9311-50716acb04e8", "test", "node-7a5f812f-b925-4bc1-8916-e5621d237074" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2021-05-03 22:57:44 |
2021-05-03 22:57:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-03 22:57:44 | ------------------------------------ 2021-05-03 22:57:44 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-7c1961da-fd96-4664-9311-50716acb04e8)" } 2021-05-03 22:57:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.014s |
2021-05-03 22:57:43 |
2021-05-03 22:57:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-03 22:57:43 | ------------------------------------ 2021-05-03 22:57:43 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-7c1961da-fd96-4664-9311-50716acb04e8", "jids": [ "admin@test-domain.com" ] } 2021-05-03 22:57:43 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.055s |
2021-05-03 22:57:44 |
2021-05-03 22:57:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-05-03 22:57:44 | ------------------------------------ 2021-05-03 22:57:44 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-7c1961da-fd96-4664-9311-50716acb04e8", "jids": [ "admin@test-domain.com" ] } 2021-05-03 22:57:44 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |