Generated by TestNG with ReportNG at 21:13 PST on Wednesday 11 November 2020
root@eaa73862192b / 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.008s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.091s
2020-11-11 21:29:31 |

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

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

2020-11-11 21:29:31 | [Mutex] waiting for: [configured:node:node-cb9be10c-3429-4d4e-9efc-f0e521c5ffd1:node-66f37b31-9c2a-4f81-a13a-da1558fce65a]

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

2020-11-11 21:29:31 | [Mutex] isItemNotified: configured:node:node-cb9be10c-3429-4d4e-9efc-f0e521c5ffd1:node-66f37b31-9c2a-4f81-a13a-da1558fce65a :: true

2020-11-11 21:29:32 | [Mutex] waiting for: [received:nodes:6642674b-00f2-4974-84fa-22736a537db3:localhost]

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

2020-11-11 21:29:32 | [Mutex] isItemNotified: received:node:6642674b-00f2-4974-84fa-22736a537db3:localhost:node-cb9be10c-3429-4d4e-9efc-f0e521c5ffd1:Node cb9be10c-3429-4d4e-9efc-f0e521c5ffd1 :: true

2020-11-11 21:29:32 | [Mutex] waiting for: [received:nodes:66490a40-ad92-49f7-8bcf-3d5b82e83d61:localhost]

2020-11-11 21:29:32 | [Mutex] waiting for: [received:nodes:66490a40-ad92-49f7-8bcf-3d5b82e83d61:localhost]

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

2020-11-11 21:29:32 | [Mutex] isItemNotified: received:node:66490a40-ad92-49f7-8bcf-3d5b82e83d61:localhost:node-cb9be10c-3429-4d4e-9efc-f0e521c5ffd1:Node cb9be10c-3429-4d4e-9efc-f0e521c5ffd1 :: false

createNodes 1.547s
2020-11-11 21:29:29 |

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

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

2020-11-11 21:29:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cb9be10c-3429-4d4e-9efc-f0e521c5ffd1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cb9be10c-3429-4d4e-9efc-f0e521c5ffd1</title></pubsub></data>

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

2020-11-11 21:29:30 | [Mutex] waiting for: [received:nodes:54c06488-6ada-4163-ac16-1ac3c9070082:localhost]

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

2020-11-11 21:29:30 | [Mutex] isItemNotified: received:node:54c06488-6ada-4163-ac16-1ac3c9070082:localhost:node-cb9be10c-3429-4d4e-9efc-f0e521c5ffd1:Node cb9be10c-3429-4d4e-9efc-f0e521c5ffd1 :: true

createSubnodes 1.029s
2020-11-11 21:29:30 |

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

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

2020-11-11 21:29:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-66f37b31-9c2a-4f81-a13a-da1558fce65a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 66f37b31-9c2a-4f81-a13a-da1558fce65a</title></pubsub></data>

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

2020-11-11 21:29:31 | [Mutex] waiting for: [received:nodes:28376639-e1a3-42a3-9c53-a5773da08fcc:localhost]

2020-11-11 21:29:31 | [Mutex] waiting for: [received:nodes:28376639-e1a3-42a3-9c53-a5773da08fcc:localhost]

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

2020-11-11 21:29:31 | [Mutex] isItemNotified: received:node:28376639-e1a3-42a3-9c53-a5773da08fcc:localhost:node-66f37b31-9c2a-4f81-a13a-da1558fce65a:Node 66f37b31-9c2a-4f81-a13a-da1558fce65a :: true

deleteNodes 1.022s
2020-11-11 21:29:37 |

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

2020-11-11 21:29:37 | ------------------------------------

2020-11-11 21:29:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-66f37b31-9c2a-4f81-a13a-da1558fce65a</node></data>

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

2020-11-11 21:29:38 | [Mutex] waiting for: [received:nodes:f18a30ca-3d1c-4673-aaea-9fe73276806f:localhost]

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

2020-11-11 21:29:38 | [Mutex] isItemNotified: received:node:f18a30ca-3d1c-4673-aaea-9fe73276806f:localhost:node-66f37b31-9c2a-4f81-a13a-da1558fce65a:Node 66f37b31-9c2a-4f81-a13a-da1558fce65a :: false

deleteSubnodes 1.147s
2020-11-11 21:29:36 |

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

2020-11-11 21:29:36 | ------------------------------------

2020-11-11 21:29:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cb9be10c-3429-4d4e-9efc-f0e521c5ffd1</node></data>

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

2020-11-11 21:29:37 | [Mutex] waiting for: [received:nodes:41562dd0-af84-4eb2-8898-504bfbe30586:localhost]

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

2020-11-11 21:29:37 | [Mutex] isItemNotified: received:node:41562dd0-af84-4eb2-8898-504bfbe30586:localhost:node-cb9be10c-3429-4d4e-9efc-f0e521c5ffd1:Node cb9be10c-3429-4d4e-9efc-f0e521c5ffd1 :: false

2020-11-11 21:29:37 | [Mutex] waiting for: [received:nodes:29d7f07a-8176-4bd6-8f1b-b971414789b6:localhost]

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

2020-11-11 21:29:37 | [Mutex] isItemNotified: received:node:29d7f07a-8176-4bd6-8f1b-b971414789b6:localhost:node-cb9be10c-3429-4d4e-9efc-f0e521c5ffd1:Node cb9be10c-3429-4d4e-9efc-f0e521c5ffd1 :: false

publishItemsToNodes 0.239s
2020-11-11 21:29:34 |

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

2020-11-11 21:29:34 | ------------------------------------

2020-11-11 21:29:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-cb9be10c-3429-4d4e-9efc-f0e521c5ffd1</node><item-id>item-fac6321e-3255-492c-aac6-6ed9fd5099a2</item-id><entry><test>item-fac6321e-3255-492c-aac6-6ed9fd5099a2</test></entry></data>

2020-11-11 21:29:34 | 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-fac6321e-3255-492c-aac6-6ed9fd5099a2</value></item-id></result>

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

2020-11-11 21:29:34 | [Mutex] isItemNotified: published:item:notifieditem-fac6321e-3255-492c-aac6-6ed9fd5099a2:admin@test-domain.com :: true

retractItemsFromNodes 0.196s
2020-11-11 21:29:34 |

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

2020-11-11 21:29:34 | ------------------------------------

2020-11-11 21:29:34 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-cb9be10c-3429-4d4e-9efc-f0e521c5ffd1</node><item-id>item-fac6321e-3255-492c-aac6-6ed9fd5099a2</item-id></data>

2020-11-11 21:29:34 | 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-fac6321e-3255-492c-aac6-6ed9fd5099a2</value></item-id></result>

2020-11-11 21:29:34 | [Mutex] waiting for: [retracted:item:notifieditem-fac6321e-3255-492c-aac6-6ed9fd5099a2:admin@test-domain.com]

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

2020-11-11 21:29:34 | [Mutex] isItemNotified: retracted:item:notifieditem-fac6321e-3255-492c-aac6-6ed9fd5099a2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.295s
2020-11-11 21:29:34 |

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

2020-11-11 21:29:34 | ------------------------------------

2020-11-11 21:29:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-cb9be10c-3429-4d4e-9efc-f0e521c5ffd1</node><item-id>item-fac6321e-3255-492c-aac6-6ed9fd5099a2</item-id></data>

2020-11-11 21:29:34 | 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-cb9be10c-3429-4d4e-9efc-f0e521c5ffd1</value></node><item-id type="text-single" label="Item ID"><value>item-fac6321e-3255-492c-aac6-6ed9fd5099a2</value></item-id><item type="text-multi" label="Item"><value><item id="item-fac6321e-3255-492c-aac6-6ed9fd5099a2"><test>item-fac6321e-3255-492c-aac6-6ed9fd5099a2</test></item></value></item></result>

2020-11-11 21:29:34 | [Mutex] notify: [retrieved:item:item-fac6321e-3255-492c-aac6-6ed9fd5099a2:payload-matches:true:localhost]

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

2020-11-11 21:29:34 | [Mutex] isItemNotified: retrieved:item:item-fac6321e-3255-492c-aac6-6ed9fd5099a2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-11-11 21:29:34 |

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

2020-11-11 21:29:34 | ------------------------------------

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

2020-11-11 21:29:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-cb9be10c-3429-4d4e-9efc-f0e521c5ffd1</value><value>node-66f37b31-9c2a-4f81-a13a-da1558fce65a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-11-11 21:29:34 |

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

2020-11-11 21:29:34 | ------------------------------------

2020-11-11 21:29:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cb9be10c-3429-4d4e-9efc-f0e521c5ffd1)</node-pattern></data>

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

subscribeNodes 1.100s
2020-11-11 21:29:32 |

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

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

2020-11-11 21:29:32 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-cb9be10c-3429-4d4e-9efc-f0e521c5ffd1</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.267s
2020-11-11 21:29:34 |

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

2020-11-11 21:29:34 | ------------------------------------

2020-11-11 21:29:34 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-cb9be10c-3429-4d4e-9efc-f0e521c5ffd1</node><jids><value>admin@test-domain.com</value></jids></data>

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