Test duration : 8.492s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.031s |
2022-07-19 23:05:47 |
2022-07-19 23:05:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-19 23:05:47 | ------------------------------------ 2022-07-19 23:05:47 | [Mutex] waiting for: [configured:node:node-86556435-42c0-43e9-851b-befcc33cf65e:node-dcc37b67-5002-4b97-8591-3dc1478f7870] 2022-07-19 23:05:47 | [Mutex] received everything. 2022-07-19 23:05:47 | [Mutex] isItemNotified: configured:node:node-86556435-42c0-43e9-851b-befcc33cf65e:node-dcc37b67-5002-4b97-8591-3dc1478f7870 :: true 2022-07-19 23:05:48 | [Mutex] waiting for: [received:nodes:254cec84-48b4-48bd-b769-9e1a4d575559:localhost] 2022-07-19 23:05:48 | [Mutex] received everything. 2022-07-19 23:05:48 | [Mutex] isItemNotified: received:node:254cec84-48b4-48bd-b769-9e1a4d575559:localhost:node-86556435-42c0-43e9-851b-befcc33cf65e:Node 86556435-42c0-43e9-851b-befcc33cf65e :: true 2022-07-19 23:05:48 | [Mutex] waiting for: [received:nodes:fc2dabc1-622d-4250-98cd-1750b932c006:localhost] 2022-07-19 23:05:48 | [Mutex] received everything. 2022-07-19 23:05:48 | [Mutex] isItemNotified: received:node:fc2dabc1-622d-4250-98cd-1750b932c006:localhost:node-86556435-42c0-43e9-851b-befcc33cf65e:Node 86556435-42c0-43e9-851b-befcc33cf65e :: false |
createNodes | 1.531s |
2022-07-19 23:05:45 |
2022-07-19 23:05:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-19 23:05:45 | ------------------------------------ 2022-07-19 23:05:45 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-86556435-42c0-43e9-851b-befcc33cf65e", "pubsub#title": "Node 86556435-42c0-43e9-851b-befcc33cf65e" } 2022-07-19 23:05:45 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-19 23:05:46 | [Mutex] waiting for: [received:nodes:0d9cc392-0140-4d78-856b-874ff247e8c6:localhost] 2022-07-19 23:05:46 | [Mutex] waiting for: [received:nodes:0d9cc392-0140-4d78-856b-874ff247e8c6:localhost] 2022-07-19 23:05:46 | [Mutex] received everything. 2022-07-19 23:05:46 | [Mutex] isItemNotified: received:node:0d9cc392-0140-4d78-856b-874ff247e8c6:localhost:node-86556435-42c0-43e9-851b-befcc33cf65e:Node 86556435-42c0-43e9-851b-befcc33cf65e :: true |
createSubnodes | 1.023s |
2022-07-19 23:05:46 |
2022-07-19 23:05:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-19 23:05:46 | ------------------------------------ 2022-07-19 23:05:46 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-dcc37b67-5002-4b97-8591-3dc1478f7870", "pubsub#title": "Node dcc37b67-5002-4b97-8591-3dc1478f7870" } 2022-07-19 23:05:46 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-19 23:05:47 | [Mutex] waiting for: [received:nodes:e86ad5f7-fd90-4592-8906-591aacb325ba:localhost] 2022-07-19 23:05:47 | [Mutex] received everything. 2022-07-19 23:05:47 | [Mutex] isItemNotified: received:node:e86ad5f7-fd90-4592-8906-591aacb325ba:localhost:node-dcc37b67-5002-4b97-8591-3dc1478f7870:Node dcc37b67-5002-4b97-8591-3dc1478f7870 :: true |
deleteNodes | 1.021s |
2022-07-19 23:05:52 |
2022-07-19 23:05:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-19 23:05:52 | ------------------------------------ 2022-07-19 23:05:52 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-dcc37b67-5002-4b97-8591-3dc1478f7870" } 2022-07-19 23:05:52 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-19 23:05:53 | [Mutex] waiting for: [received:nodes:7168bae3-86e5-49f7-bb59-d212863e7521:localhost] 2022-07-19 23:05:53 | [Mutex] waiting for: [received:nodes:7168bae3-86e5-49f7-bb59-d212863e7521:localhost] 2022-07-19 23:05:53 | [Mutex] received everything. 2022-07-19 23:05:53 | [Mutex] isItemNotified: received:node:7168bae3-86e5-49f7-bb59-d212863e7521:localhost:node-dcc37b67-5002-4b97-8591-3dc1478f7870:Node dcc37b67-5002-4b97-8591-3dc1478f7870 :: false |
deleteSubnodes | 1.025s |
2022-07-19 23:05:51 |
2022-07-19 23:05:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-19 23:05:51 | ------------------------------------ 2022-07-19 23:05:51 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-86556435-42c0-43e9-851b-befcc33cf65e" } 2022-07-19 23:05:51 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-19 23:05:52 | [Mutex] waiting for: [received:nodes:34ff09a2-f787-4cd5-8b5b-a9324ef83a55:localhost] 2022-07-19 23:05:52 | [Mutex] waiting for: [received:nodes:34ff09a2-f787-4cd5-8b5b-a9324ef83a55:localhost] 2022-07-19 23:05:52 | [Mutex] waiting for: [received:nodes:34ff09a2-f787-4cd5-8b5b-a9324ef83a55:localhost] 2022-07-19 23:05:52 | [Mutex] waiting for: [received:nodes:34ff09a2-f787-4cd5-8b5b-a9324ef83a55:localhost] 2022-07-19 23:05:52 | [Mutex] received everything. 2022-07-19 23:05:52 | [Mutex] isItemNotified: received:node:34ff09a2-f787-4cd5-8b5b-a9324ef83a55:localhost:node-86556435-42c0-43e9-851b-befcc33cf65e:Node 86556435-42c0-43e9-851b-befcc33cf65e :: false 2022-07-19 23:05:52 | [Mutex] waiting for: [received:nodes:b4d2f638-e2c3-4086-8ffc-ec1f6c4313df:localhost] 2022-07-19 23:05:52 | [Mutex] received everything. 2022-07-19 23:05:52 | [Mutex] isItemNotified: received:node:b4d2f638-e2c3-4086-8ffc-ec1f6c4313df:localhost:node-86556435-42c0-43e9-851b-befcc33cf65e:Node 86556435-42c0-43e9-851b-befcc33cf65e :: false |
publishItemsToNodes | 0.060s |
2022-07-19 23:05:49 |
2022-07-19 23:05:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-19 23:05:49 | ------------------------------------ 2022-07-19 23:05:49 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-86556435-42c0-43e9-851b-befcc33cf65e", "entry": "<test>item-0b79cd6b-7221-4316-921c-c44decf0358f</test>", "item-id": "item-0b79cd6b-7221-4316-921c-c44decf0358f" } 2022-07-19 23:05:49 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-0b79cd6b-7221-4316-921c-c44decf0358f" } 2022-07-19 23:05:49 | [Mutex] waiting for: [published:item:notifieditem-0b79cd6b-7221-4316-921c-c44decf0358f:admin@test-domain.com] 2022-07-19 23:05:49 | [Mutex] received everything. 2022-07-19 23:05:49 | [Mutex] isItemNotified: published:item:notifieditem-0b79cd6b-7221-4316-921c-c44decf0358f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.057s |
2022-07-19 23:05:50 |
2022-07-19 23:05:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-19 23:05:50 | ------------------------------------ 2022-07-19 23:05:50 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-86556435-42c0-43e9-851b-befcc33cf65e", "item-id": "item-0b79cd6b-7221-4316-921c-c44decf0358f" } 2022-07-19 23:05:50 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-0b79cd6b-7221-4316-921c-c44decf0358f" } 2022-07-19 23:05:50 | [Mutex] waiting for: [retracted:item:notifieditem-0b79cd6b-7221-4316-921c-c44decf0358f:admin@test-domain.com] 2022-07-19 23:05:50 | [Mutex] received everything. 2022-07-19 23:05:50 | [Mutex] isItemNotified: retracted:item:notifieditem-0b79cd6b-7221-4316-921c-c44decf0358f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.023s |
2022-07-19 23:05:49 |
2022-07-19 23:05:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-19 23:05:49 | ------------------------------------ 2022-07-19 23:05:49 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-86556435-42c0-43e9-851b-befcc33cf65e", "item-id": "item-0b79cd6b-7221-4316-921c-c44decf0358f" } 2022-07-19 23:05:49 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-86556435-42c0-43e9-851b-befcc33cf65e", "item-id": "item-0b79cd6b-7221-4316-921c-c44decf0358f", "item": [ "<item id=\"item-0b79cd6b-7221-4316-921c-c44decf0358f\"><test>item-0b79cd6b-7221-4316-921c-c44decf0358f</test></item>" ] } 2022-07-19 23:05:49 | [Mutex] notify: [retrieved:item:item-0b79cd6b-7221-4316-921c-c44decf0358f:payload-matches:true:localhost] 2022-07-19 23:05:49 | [Mutex] received everything. 2022-07-19 23:05:49 | [Mutex] isItemNotified: retrieved:item:item-0b79cd6b-7221-4316-921c-c44decf0358f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.058s |
2022-07-19 23:05:49 |
2022-07-19 23:05:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-19 23:05:49 | ------------------------------------ 2022-07-19 23:05:49 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-07-19 23:05:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-dcc37b67-5002-4b97-8591-3dc1478f7870", "node-86556435-42c0-43e9-851b-befcc33cf65e" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2022-07-19 23:05:49 |
2022-07-19 23:05:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-19 23:05:49 | ------------------------------------ 2022-07-19 23:05:49 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-86556435-42c0-43e9-851b-befcc33cf65e)" } 2022-07-19 23:05:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.009s |
2022-07-19 23:05:48 |
2022-07-19 23:05:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-19 23:05:48 | ------------------------------------ 2022-07-19 23:05:48 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-86556435-42c0-43e9-851b-befcc33cf65e", "jids": [ "admin@test-domain.com" ] } 2022-07-19 23:05:48 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.053s |
2022-07-19 23:05:50 |
2022-07-19 23:05:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-19 23:05:50 | ------------------------------------ 2022-07-19 23:05:50 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-86556435-42c0-43e9-851b-befcc33cf65e", "jids": [ "admin@test-domain.com" ] } 2022-07-19 23:05:50 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |