Generated by TestNG with ReportNG at 22:22 PDT on Thursday 29 April 2021
root@785cf647a4ab / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.420s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.120s
2021-04-29 22:38:00 |

2021-04-29 22:38:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:38:00 | ------------------------------------

2021-04-29 22:38:00 | [Mutex] waiting for: [configured:node:node-121e5808-b2a4-42af-84e6-698c8a7f1a5f:node-b37e45a9-8a6c-42f4-aa21-f78ceedb60d4]

2021-04-29 22:38:01 | [Mutex] received everything.

2021-04-29 22:38:01 | [Mutex] isItemNotified: configured:node:node-121e5808-b2a4-42af-84e6-698c8a7f1a5f:node-b37e45a9-8a6c-42f4-aa21-f78ceedb60d4 :: true

2021-04-29 22:38:02 | [Mutex] waiting for: [received:nodes:ff803a58-b4f9-4950-8cf6-e02d8ed9be56:localhost]

2021-04-29 22:38:02 | [Mutex] received everything.

2021-04-29 22:38:02 | [Mutex] isItemNotified: received:node:ff803a58-b4f9-4950-8cf6-e02d8ed9be56:localhost:node-121e5808-b2a4-42af-84e6-698c8a7f1a5f:Node 121e5808-b2a4-42af-84e6-698c8a7f1a5f :: true

2021-04-29 22:38:02 | [Mutex] waiting for: [received:nodes:b256c0d0-a806-49a9-9717-25652658b1f0:localhost]

2021-04-29 22:38:02 | [Mutex] received everything.

2021-04-29 22:38:02 | [Mutex] isItemNotified: received:node:b256c0d0-a806-49a9-9717-25652658b1f0:localhost:node-121e5808-b2a4-42af-84e6-698c8a7f1a5f:Node 121e5808-b2a4-42af-84e6-698c8a7f1a5f :: false

createNodes 1.592s
2021-04-29 22:37:58 |

2021-04-29 22:37:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:37:58 | ------------------------------------

2021-04-29 22:37:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-121e5808-b2a4-42af-84e6-698c8a7f1a5f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 121e5808-b2a4-42af-84e6-698c8a7f1a5f</title></pubsub></data>

2021-04-29 22:37:58 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-29 22:37:59 | [Mutex] waiting for: [received:nodes:2cf61d12-53f5-4b23-a260-b90506ec80f0:localhost]

2021-04-29 22:37:59 | [Mutex] received everything.

2021-04-29 22:37:59 | [Mutex] isItemNotified: received:node:2cf61d12-53f5-4b23-a260-b90506ec80f0:localhost:node-121e5808-b2a4-42af-84e6-698c8a7f1a5f:Node 121e5808-b2a4-42af-84e6-698c8a7f1a5f :: true

createSubnodes 1.033s
2021-04-29 22:37:59 |

2021-04-29 22:37:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:37:59 | ------------------------------------

2021-04-29 22:37:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b37e45a9-8a6c-42f4-aa21-f78ceedb60d4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b37e45a9-8a6c-42f4-aa21-f78ceedb60d4</title></pubsub></data>

2021-04-29 22:37:59 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-29 22:38:00 | [Mutex] waiting for: [received:nodes:9f91b890-a3a3-4d3d-97c2-d0bb5a5a99ae:localhost]

2021-04-29 22:38:00 | [Mutex] received everything.

2021-04-29 22:38:00 | [Mutex] isItemNotified: received:node:9f91b890-a3a3-4d3d-97c2-d0bb5a5a99ae:localhost:node-b37e45a9-8a6c-42f4-aa21-f78ceedb60d4:Node b37e45a9-8a6c-42f4-aa21-f78ceedb60d4 :: true

deleteNodes 1.021s
2021-04-29 22:38:06 |

2021-04-29 22:38:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:38:06 | ------------------------------------

2021-04-29 22:38:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b37e45a9-8a6c-42f4-aa21-f78ceedb60d4</node></data>

2021-04-29 22:38:06 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-29 22:38:07 | [Mutex] waiting for: [received:nodes:bc70e937-2a40-4dd1-9f24-5e41d9af6ce2:localhost]

2021-04-29 22:38:07 | [Mutex] received everything.

2021-04-29 22:38:07 | [Mutex] isItemNotified: received:node:bc70e937-2a40-4dd1-9f24-5e41d9af6ce2:localhost:node-b37e45a9-8a6c-42f4-aa21-f78ceedb60d4:Node b37e45a9-8a6c-42f4-aa21-f78ceedb60d4 :: false

deleteSubnodes 1.190s
2021-04-29 22:38:05 |

2021-04-29 22:38:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:38:05 | ------------------------------------

2021-04-29 22:38:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-121e5808-b2a4-42af-84e6-698c8a7f1a5f</node></data>

2021-04-29 22:38:05 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-29 22:38:06 | [Mutex] waiting for: [received:nodes:bafb5ec9-33e8-4831-955c-8698507c12bb:localhost]

2021-04-29 22:38:06 | [Mutex] received everything.

2021-04-29 22:38:06 | [Mutex] isItemNotified: received:node:bafb5ec9-33e8-4831-955c-8698507c12bb:localhost:node-121e5808-b2a4-42af-84e6-698c8a7f1a5f:Node 121e5808-b2a4-42af-84e6-698c8a7f1a5f :: false

2021-04-29 22:38:06 | [Mutex] waiting for: [received:nodes:2336c1be-957f-4a81-be07-3e5a115a740b:localhost]

2021-04-29 22:38:06 | [Mutex] received everything.

2021-04-29 22:38:06 | [Mutex] isItemNotified: received:node:2336c1be-957f-4a81-be07-3e5a115a740b:localhost:node-121e5808-b2a4-42af-84e6-698c8a7f1a5f:Node 121e5808-b2a4-42af-84e6-698c8a7f1a5f :: false

publishItemsToNodes 0.283s
2021-04-29 22:38:03 |

2021-04-29 22:38:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:38:03 | ------------------------------------

2021-04-29 22:38:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-121e5808-b2a4-42af-84e6-698c8a7f1a5f</node><item-id>item-b2a440fc-8dae-4301-9580-37cd978d48a1</item-id><entry><test>item-b2a440fc-8dae-4301-9580-37cd978d48a1</test></entry></data>

2021-04-29 22:38:03 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-b2a440fc-8dae-4301-9580-37cd978d48a1</value></item-id></result>

2021-04-29 22:38:03 | [Mutex] waiting for: [published:item:notifieditem-b2a440fc-8dae-4301-9580-37cd978d48a1:admin@test-domain.com]

2021-04-29 22:38:03 | [Mutex] received everything.

2021-04-29 22:38:03 | [Mutex] isItemNotified: published:item:notifieditem-b2a440fc-8dae-4301-9580-37cd978d48a1:admin@test-domain.com :: true

retractItemsFromNodes 0.320s
2021-04-29 22:38:03 |

2021-04-29 22:38:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:38:03 | ------------------------------------

2021-04-29 22:38:03 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-121e5808-b2a4-42af-84e6-698c8a7f1a5f</node><item-id>item-b2a440fc-8dae-4301-9580-37cd978d48a1</item-id></data>

2021-04-29 22:38:04 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-b2a440fc-8dae-4301-9580-37cd978d48a1</value></item-id></result>

2021-04-29 22:38:04 | [Mutex] waiting for: [retracted:item:notifieditem-b2a440fc-8dae-4301-9580-37cd978d48a1:admin@test-domain.com]

2021-04-29 22:38:04 | [Mutex] received everything.

2021-04-29 22:38:04 | [Mutex] isItemNotified: retracted:item:notifieditem-b2a440fc-8dae-4301-9580-37cd978d48a1:admin@test-domain.com :: true

retrieveItemsFromNodes 0.236s
2021-04-29 22:38:03 |

2021-04-29 22:38:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:38:03 | ------------------------------------

2021-04-29 22:38:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-121e5808-b2a4-42af-84e6-698c8a7f1a5f</node><item-id>item-b2a440fc-8dae-4301-9580-37cd978d48a1</item-id></data>

2021-04-29 22:38:03 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-121e5808-b2a4-42af-84e6-698c8a7f1a5f</value></node><item-id label="Item ID" type="text-single"><value>item-b2a440fc-8dae-4301-9580-37cd978d48a1</value></item-id><item label="Item" type="text-multi"><value><item id="item-b2a440fc-8dae-4301-9580-37cd978d48a1"><test>item-b2a440fc-8dae-4301-9580-37cd978d48a1</test></item></value></item></result>

2021-04-29 22:38:03 | [Mutex] notify: [retrieved:item:item-b2a440fc-8dae-4301-9580-37cd978d48a1:payload-matches:true:localhost]

2021-04-29 22:38:03 | [Mutex] received everything.

2021-04-29 22:38:03 | [Mutex] isItemNotified: retrieved:item:item-b2a440fc-8dae-4301-9580-37cd978d48a1:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-04-29 22:38:03 |

2021-04-29 22:38:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:38:03 | ------------------------------------

2021-04-29 22:38:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-04-29 22:38:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-121e5808-b2a4-42af-84e6-698c8a7f1a5f</value><value>node-b37e45a9-8a6c-42f4-aa21-f78ceedb60d4</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-04-29 22:38:03 |

2021-04-29 22:38:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:38:03 | ------------------------------------

2021-04-29 22:38:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-121e5808-b2a4-42af-84e6-698c8a7f1a5f)</node-pattern></data>

2021-04-29 22:38:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.209s
2021-04-29 22:38:02 |

2021-04-29 22:38:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:38:02 | ------------------------------------

2021-04-29 22:38:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-121e5808-b2a4-42af-84e6-698c8a7f1a5f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-29 22:38:02 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.286s
2021-04-29 22:38:04 |

2021-04-29 22:38:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 22:38:04 | ------------------------------------

2021-04-29 22:38:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-121e5808-b2a4-42af-84e6-698c8a7f1a5f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-29 22:38:04 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>