Test duration: 8.812s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.111s |
2020-06-02 14:13:50 |
2020-06-02 14:13:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-02 14:13:50 | ------------------------------------ 2020-06-02 14:13:50 | [Mutex] waiting for: [configured:node:node-55b7b0cb-88c1-48ee-a54c-d330fe562fbd:node-8e2481cc-9cbd-44ea-bd94-073db030fa11] 2020-06-02 14:13:50 | [Mutex] received everything. 2020-06-02 14:13:50 | [Mutex] isItemNotified: configured:node:node-55b7b0cb-88c1-48ee-a54c-d330fe562fbd:node-8e2481cc-9cbd-44ea-bd94-073db030fa11 :: true 2020-06-02 14:13:51 | [Mutex] waiting for: [received:nodes:444b2f7f-affc-400a-95b4-00d54def5a43:localhost] 2020-06-02 14:13:51 | [Mutex] received everything. 2020-06-02 14:13:51 | [Mutex] isItemNotified: received:node:444b2f7f-affc-400a-95b4-00d54def5a43:localhost:node-55b7b0cb-88c1-48ee-a54c-d330fe562fbd:Node 55b7b0cb-88c1-48ee-a54c-d330fe562fbd :: true 2020-06-02 14:13:51 | [Mutex] waiting for: [received:nodes:32115b7a-8b24-4b8b-b828-98a454655564:localhost] 2020-06-02 14:13:51 | [Mutex] received everything. 2020-06-02 14:13:51 | [Mutex] isItemNotified: received:node:32115b7a-8b24-4b8b-b828-98a454655564:localhost:node-55b7b0cb-88c1-48ee-a54c-d330fe562fbd:Node 55b7b0cb-88c1-48ee-a54c-d330fe562fbd :: false |
createNodes | 1.556s |
2020-06-02 14:13:48 |
2020-06-02 14:13:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-02 14:13:48 | ------------------------------------ 2020-06-02 14:13:48 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@localhost", "pubsub#node_type": "leaf", "node": "node-55b7b0cb-88c1-48ee-a54c-d330fe562fbd", "pubsub#title": "Node 55b7b0cb-88c1-48ee-a54c-d330fe562fbd" } 2020-06-02 14:13:48 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-02 14:13:49 | [Mutex] waiting for: [received:nodes:ca4fce95-c4fd-417a-bfbf-1d75e92fb00b:localhost] 2020-06-02 14:13:49 | [Mutex] received everything. 2020-06-02 14:13:49 | [Mutex] isItemNotified: received:node:ca4fce95-c4fd-417a-bfbf-1d75e92fb00b:localhost:node-55b7b0cb-88c1-48ee-a54c-d330fe562fbd:Node 55b7b0cb-88c1-48ee-a54c-d330fe562fbd :: true |
createSubnodes | 1.016s |
2020-06-02 14:13:49 |
2020-06-02 14:13:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-02 14:13:49 | ------------------------------------ 2020-06-02 14:13:49 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@localhost", "pubsub#node_type": "collection", "node": "node-8e2481cc-9cbd-44ea-bd94-073db030fa11", "pubsub#title": "Node 8e2481cc-9cbd-44ea-bd94-073db030fa11" } 2020-06-02 14:13:49 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-02 14:13:50 | [Mutex] waiting for: [received:nodes:4c671d5f-3a0a-4141-b61e-9326ddb4d931:localhost] 2020-06-02 14:13:50 | [Mutex] received everything. 2020-06-02 14:13:50 | [Mutex] isItemNotified: received:node:4c671d5f-3a0a-4141-b61e-9326ddb4d931:localhost:node-8e2481cc-9cbd-44ea-bd94-073db030fa11:Node 8e2481cc-9cbd-44ea-bd94-073db030fa11 :: true |
deleteNodes | 1.016s |
2020-06-02 14:13:55 |
2020-06-02 14:13:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-02 14:13:55 | ------------------------------------ 2020-06-02 14:13:55 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-8e2481cc-9cbd-44ea-bd94-073db030fa11" } 2020-06-02 14:13:55 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-02 14:13:56 | [Mutex] waiting for: [received:nodes:f178b295-dd1c-4364-903e-bcac229e2e2f:localhost] 2020-06-02 14:13:56 | [Mutex] received everything. 2020-06-02 14:13:56 | [Mutex] isItemNotified: received:node:f178b295-dd1c-4364-903e-bcac229e2e2f:localhost:node-8e2481cc-9cbd-44ea-bd94-073db030fa11:Node 8e2481cc-9cbd-44ea-bd94-073db030fa11 :: false |
deleteSubnodes | 1.023s |
2020-06-02 14:13:54 |
2020-06-02 14:13:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-02 14:13:54 | ------------------------------------ 2020-06-02 14:13:54 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-55b7b0cb-88c1-48ee-a54c-d330fe562fbd" } 2020-06-02 14:13:54 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-02 14:13:55 | [Mutex] waiting for: [received:nodes:3a8871aa-2bf2-43e9-ae6a-b901b2998b79:localhost] 2020-06-02 14:13:55 | [Mutex] waiting for: [received:nodes:3a8871aa-2bf2-43e9-ae6a-b901b2998b79:localhost] 2020-06-02 14:13:55 | [Mutex] waiting for: [received:nodes:3a8871aa-2bf2-43e9-ae6a-b901b2998b79:localhost] 2020-06-02 14:13:55 | [Mutex] received everything. 2020-06-02 14:13:55 | [Mutex] isItemNotified: received:node:3a8871aa-2bf2-43e9-ae6a-b901b2998b79:localhost:node-55b7b0cb-88c1-48ee-a54c-d330fe562fbd:Node 55b7b0cb-88c1-48ee-a54c-d330fe562fbd :: false 2020-06-02 14:13:55 | [Mutex] waiting for: [received:nodes:bcf0d857-6000-4e05-bfc1-6d63eccf4de8:localhost] 2020-06-02 14:13:55 | [Mutex] received everything. 2020-06-02 14:13:55 | [Mutex] isItemNotified: received:node:bcf0d857-6000-4e05-bfc1-6d63eccf4de8:localhost:node-55b7b0cb-88c1-48ee-a54c-d330fe562fbd:Node 55b7b0cb-88c1-48ee-a54c-d330fe562fbd :: false |
publishItemsToNodes | 0.022s |
2020-06-02 14:13:52 |
2020-06-02 14:13:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-02 14:13:52 | ------------------------------------ 2020-06-02 14:13:52 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-55b7b0cb-88c1-48ee-a54c-d330fe562fbd", "entry": "<test>item-c6a4e4e8-a117-4ef4-9854-ff6c55095502</test>", "item-id": "item-c6a4e4e8-a117-4ef4-9854-ff6c55095502" } 2020-06-02 14:13:52 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-c6a4e4e8-a117-4ef4-9854-ff6c55095502" } 2020-06-02 14:13:52 | [Mutex] waiting for: [published:item:notifieditem-c6a4e4e8-a117-4ef4-9854-ff6c55095502:admin@localhost] 2020-06-02 14:13:52 | [Mutex] received everything. 2020-06-02 14:13:52 | [Mutex] isItemNotified: published:item:notifieditem-c6a4e4e8-a117-4ef4-9854-ff6c55095502:admin@localhost :: true |
retractItemsFromNodes | 0.052s |
2020-06-02 14:13:52 |
2020-06-02 14:13:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-02 14:13:52 | ------------------------------------ 2020-06-02 14:13:52 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-55b7b0cb-88c1-48ee-a54c-d330fe562fbd", "item-id": "item-c6a4e4e8-a117-4ef4-9854-ff6c55095502" } 2020-06-02 14:13:52 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-c6a4e4e8-a117-4ef4-9854-ff6c55095502" } 2020-06-02 14:13:52 | [Mutex] received everything. 2020-06-02 14:13:52 | [Mutex] isItemNotified: retracted:item:notifieditem-c6a4e4e8-a117-4ef4-9854-ff6c55095502:admin@localhost :: true |
retrieveItemsFromNodes | 0.068s |
2020-06-02 14:13:52 |
2020-06-02 14:13:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-02 14:13:52 | ------------------------------------ 2020-06-02 14:13:52 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-55b7b0cb-88c1-48ee-a54c-d330fe562fbd", "item-id": "item-c6a4e4e8-a117-4ef4-9854-ff6c55095502" } 2020-06-02 14:13:52 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-55b7b0cb-88c1-48ee-a54c-d330fe562fbd", "item-id": "item-c6a4e4e8-a117-4ef4-9854-ff6c55095502", "item": [ "<item id=\"item-c6a4e4e8-a117-4ef4-9854-ff6c55095502\"><test>item-c6a4e4e8-a117-4ef4-9854-ff6c55095502</test></item>" ] } 2020-06-02 14:13:52 | [Mutex] notify: [retrieved:item:item-c6a4e4e8-a117-4ef4-9854-ff6c55095502:payload-matches:true:localhost] 2020-06-02 14:13:52 | [Mutex] received everything. 2020-06-02 14:13:52 | [Mutex] isItemNotified: retrieved:item:item-c6a4e4e8-a117-4ef4-9854-ff6c55095502:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2020-06-02 14:13:52 |
2020-06-02 14:13:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-02 14:13:52 | ------------------------------------ 2020-06-02 14:13:52 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@localhost" } 2020-06-02 14:13:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-8e2481cc-9cbd-44ea-bd94-073db030fa11", "node-55b7b0cb-88c1-48ee-a54c-d330fe562fbd" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2020-06-02 14:13:52 |
2020-06-02 14:13:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-02 14:13:52 | ------------------------------------ 2020-06-02 14:13:52 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@localhost", "node-pattern": "(?!node-55b7b0cb-88c1-48ee-a54c-d330fe562fbd)" } 2020-06-02 14:13:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.007s |
2020-06-02 14:13:51 |
2020-06-02 14:13:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-02 14:13:51 | ------------------------------------ 2020-06-02 14:13:51 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-55b7b0cb-88c1-48ee-a54c-d330fe562fbd", "jids": [ "admin@localhost" ] } 2020-06-02 14:13:51 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.099s |
2020-06-02 14:13:52 |
2020-06-02 14:13:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-02 14:13:52 | ------------------------------------ 2020-06-02 14:13:52 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-55b7b0cb-88c1-48ee-a54c-d330fe562fbd", "jids": [ "admin@localhost" ] } 2020-06-02 14:13:53 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |