Generated by TestNG with ReportNG at 21:15 PST on Sunday 29 November 2020
root@43fec6d4badf / 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.268s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.082s
2020-11-29 21:32:27 |

2020-11-29 21:32:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-29 21:32:27 | ------------------------------------

2020-11-29 21:32:27 | [Mutex] waiting for: [configured:node:node-92a73bae-8f62-47aa-aa9f-17b645cd75d9:node-3dd3eb41-8b3f-4121-9c0b-12507c4d2dfd]

2020-11-29 21:32:27 | [Mutex] received everything.

2020-11-29 21:32:27 | [Mutex] isItemNotified: configured:node:node-92a73bae-8f62-47aa-aa9f-17b645cd75d9:node-3dd3eb41-8b3f-4121-9c0b-12507c4d2dfd :: true

2020-11-29 21:32:28 | [Mutex] waiting for: [received:nodes:9719fb9f-5b03-4ebd-a7c9-3b96a3531d9d:localhost]

2020-11-29 21:32:28 | [Mutex] received everything.

2020-11-29 21:32:28 | [Mutex] isItemNotified: received:node:9719fb9f-5b03-4ebd-a7c9-3b96a3531d9d:localhost:node-92a73bae-8f62-47aa-aa9f-17b645cd75d9:Node 92a73bae-8f62-47aa-aa9f-17b645cd75d9 :: true

2020-11-29 21:32:28 | [Mutex] waiting for: [received:nodes:63522788-6655-48d4-aa95-bacc5a6f2adf:localhost]

2020-11-29 21:32:28 | [Mutex] received everything.

2020-11-29 21:32:28 | [Mutex] isItemNotified: received:node:63522788-6655-48d4-aa95-bacc5a6f2adf:localhost:node-92a73bae-8f62-47aa-aa9f-17b645cd75d9:Node 92a73bae-8f62-47aa-aa9f-17b645cd75d9 :: false

createNodes 1.530s
2020-11-29 21:32:24 |

2020-11-29 21:32:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-29 21:32:24 | ------------------------------------

2020-11-29 21:32:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-92a73bae-8f62-47aa-aa9f-17b645cd75d9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 92a73bae-8f62-47aa-aa9f-17b645cd75d9</title></pubsub></data>

2020-11-29 21:32:25 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-29 21:32:26 | [Mutex] waiting for: [received:nodes:a29a3860-af8a-4ed9-892c-714fff1f4396:localhost]

2020-11-29 21:32:26 | [Mutex] waiting for: [received:nodes:a29a3860-af8a-4ed9-892c-714fff1f4396:localhost]

2020-11-29 21:32:26 | [Mutex] received everything.

2020-11-29 21:32:26 | [Mutex] isItemNotified: received:node:a29a3860-af8a-4ed9-892c-714fff1f4396:localhost:node-92a73bae-8f62-47aa-aa9f-17b645cd75d9:Node 92a73bae-8f62-47aa-aa9f-17b645cd75d9 :: true

createSubnodes 1.032s
2020-11-29 21:32:26 |

2020-11-29 21:32:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-29 21:32:26 | ------------------------------------

2020-11-29 21:32:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3dd3eb41-8b3f-4121-9c0b-12507c4d2dfd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3dd3eb41-8b3f-4121-9c0b-12507c4d2dfd</title></pubsub></data>

2020-11-29 21:32:26 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-29 21:32:27 | [Mutex] waiting for: [received:nodes:9bebabac-d1cd-41b7-b3b0-b9a363af67f9:localhost]

2020-11-29 21:32:27 | [Mutex] received everything.

2020-11-29 21:32:27 | [Mutex] isItemNotified: received:node:9bebabac-d1cd-41b7-b3b0-b9a363af67f9:localhost:node-3dd3eb41-8b3f-4121-9c0b-12507c4d2dfd:Node 3dd3eb41-8b3f-4121-9c0b-12507c4d2dfd :: true

deleteNodes 1.018s
2020-11-29 21:32:32 |

2020-11-29 21:32:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-29 21:32:32 | ------------------------------------

2020-11-29 21:32:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3dd3eb41-8b3f-4121-9c0b-12507c4d2dfd</node></data>

2020-11-29 21:32:32 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-29 21:32:33 | [Mutex] waiting for: [received:nodes:f20c8a6b-69f1-49ed-b106-2db4f94eb59c:localhost]

2020-11-29 21:32:33 | [Mutex] received everything.

2020-11-29 21:32:33 | [Mutex] isItemNotified: received:node:f20c8a6b-69f1-49ed-b106-2db4f94eb59c:localhost:node-3dd3eb41-8b3f-4121-9c0b-12507c4d2dfd:Node 3dd3eb41-8b3f-4121-9c0b-12507c4d2dfd :: false

deleteSubnodes 1.151s
2020-11-29 21:32:31 |

2020-11-29 21:32:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-29 21:32:31 | ------------------------------------

2020-11-29 21:32:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-92a73bae-8f62-47aa-aa9f-17b645cd75d9</node></data>

2020-11-29 21:32:31 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-29 21:32:32 | [Mutex] waiting for: [received:nodes:fc5d72d4-0022-4f73-86f5-58a2dcba199f:localhost]

2020-11-29 21:32:32 | [Mutex] waiting for: [received:nodes:fc5d72d4-0022-4f73-86f5-58a2dcba199f:localhost]

2020-11-29 21:32:32 | [Mutex] received everything.

2020-11-29 21:32:32 | [Mutex] isItemNotified: received:node:fc5d72d4-0022-4f73-86f5-58a2dcba199f:localhost:node-92a73bae-8f62-47aa-aa9f-17b645cd75d9:Node 92a73bae-8f62-47aa-aa9f-17b645cd75d9 :: false

2020-11-29 21:32:32 | [Mutex] waiting for: [received:nodes:3f378248-2b6a-4fe0-a81f-f9926a988b3c:localhost]

2020-11-29 21:32:32 | [Mutex] received everything.

2020-11-29 21:32:32 | [Mutex] isItemNotified: received:node:3f378248-2b6a-4fe0-a81f-f9926a988b3c:localhost:node-92a73bae-8f62-47aa-aa9f-17b645cd75d9:Node 92a73bae-8f62-47aa-aa9f-17b645cd75d9 :: false

publishItemsToNodes 0.215s
2020-11-29 21:32:29 |

2020-11-29 21:32:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-29 21:32:29 | ------------------------------------

2020-11-29 21:32:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-92a73bae-8f62-47aa-aa9f-17b645cd75d9</node><item-id>item-c7c709d6-2fd8-4f8c-b553-c2b0233e00ea</item-id><entry><test>item-c7c709d6-2fd8-4f8c-b553-c2b0233e00ea</test></entry></data>

2020-11-29 21:32:29 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-c7c709d6-2fd8-4f8c-b553-c2b0233e00ea</value></item-id></result>

2020-11-29 21:32:29 | [Mutex] waiting for: [published:item:notifieditem-c7c709d6-2fd8-4f8c-b553-c2b0233e00ea:admin@test-domain.com]

2020-11-29 21:32:29 | [Mutex] received everything.

2020-11-29 21:32:29 | [Mutex] isItemNotified: published:item:notifieditem-c7c709d6-2fd8-4f8c-b553-c2b0233e00ea:admin@test-domain.com :: true

retractItemsFromNodes 0.315s
2020-11-29 21:32:30 |

2020-11-29 21:32:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-29 21:32:30 | ------------------------------------

2020-11-29 21:32:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-92a73bae-8f62-47aa-aa9f-17b645cd75d9</node><item-id>item-c7c709d6-2fd8-4f8c-b553-c2b0233e00ea</item-id></data>

2020-11-29 21:32:30 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-c7c709d6-2fd8-4f8c-b553-c2b0233e00ea</value></item-id></result>

2020-11-29 21:32:30 | [Mutex] received everything.

2020-11-29 21:32:30 | [Mutex] isItemNotified: retracted:item:notifieditem-c7c709d6-2fd8-4f8c-b553-c2b0233e00ea:admin@test-domain.com :: true

retrieveItemsFromNodes 0.282s
2020-11-29 21:32:29 |

2020-11-29 21:32:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-29 21:32:29 | ------------------------------------

2020-11-29 21:32:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-92a73bae-8f62-47aa-aa9f-17b645cd75d9</node><item-id>item-c7c709d6-2fd8-4f8c-b553-c2b0233e00ea</item-id></data>

2020-11-29 21:32:29 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-92a73bae-8f62-47aa-aa9f-17b645cd75d9</value></node><item-id type="text-single" label="Item ID"><value>item-c7c709d6-2fd8-4f8c-b553-c2b0233e00ea</value></item-id><item type="text-multi" label="Item"><value><item id="item-c7c709d6-2fd8-4f8c-b553-c2b0233e00ea"><test>item-c7c709d6-2fd8-4f8c-b553-c2b0233e00ea</test></item></value></item></result>

2020-11-29 21:32:29 | [Mutex] notify: [retrieved:item:item-c7c709d6-2fd8-4f8c-b553-c2b0233e00ea:payload-matches:true:localhost]

2020-11-29 21:32:29 | [Mutex] received everything.

2020-11-29 21:32:29 | [Mutex] isItemNotified: retrieved:item:item-c7c709d6-2fd8-4f8c-b553-c2b0233e00ea:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-11-29 21:32:29 |

2020-11-29 21:32:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-29 21:32:29 | ------------------------------------

2020-11-29 21:32:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-11-29 21:32:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-3dd3eb41-8b3f-4121-9c0b-12507c4d2dfd</value><value>test</value><value>node-92a73bae-8f62-47aa-aa9f-17b645cd75d9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-11-29 21:32:29 |

2020-11-29 21:32:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-29 21:32:29 | ------------------------------------

2020-11-29 21:32:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-92a73bae-8f62-47aa-aa9f-17b645cd75d9)</node-pattern></data>

2020-11-29 21:32:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.154s
2020-11-29 21:32:28 |

2020-11-29 21:32:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-29 21:32:28 | ------------------------------------

2020-11-29 21:32:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-92a73bae-8f62-47aa-aa9f-17b645cd75d9</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-29 21:32:28 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.291s
2020-11-29 21:32:30 |

2020-11-29 21:32:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-29 21:32:30 | ------------------------------------

2020-11-29 21:32:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-92a73bae-8f62-47aa-aa9f-17b645cd75d9</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-29 21:32:30 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>