Generated by TestNG with ReportNG at 22:42 PDT on Sunday 11 October 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 : 9.960s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2020-10-11 22:59:01 |

2020-10-11 22:59:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:59:01 | ------------------------------------

2020-10-11 22:59:01 | [Mutex] waiting for: [configured:node:node-e06dac75-fc25-433d-b276-7a1205d75a93:node-08446ab3-fd68-462d-8cd2-3f0c77872346]

2020-10-11 22:59:01 | [Mutex] received everything.

2020-10-11 22:59:01 | [Mutex] isItemNotified: configured:node:node-e06dac75-fc25-433d-b276-7a1205d75a93:node-08446ab3-fd68-462d-8cd2-3f0c77872346 :: true

2020-10-11 22:59:02 | [Mutex] waiting for: [received:nodes:8ada62a1-c243-4f15-9c66-fdddbbf35796:localhost]

2020-10-11 22:59:02 | [Mutex] received everything.

2020-10-11 22:59:02 | [Mutex] isItemNotified: received:node:8ada62a1-c243-4f15-9c66-fdddbbf35796:localhost:node-e06dac75-fc25-433d-b276-7a1205d75a93:Node e06dac75-fc25-433d-b276-7a1205d75a93 :: true

2020-10-11 22:59:02 | [Mutex] waiting for: [received:nodes:f70a1964-7649-49a0-92ea-afd39a2b1ad8:localhost]

2020-10-11 22:59:02 | [Mutex] waiting for: [received:nodes:f70a1964-7649-49a0-92ea-afd39a2b1ad8:localhost]

2020-10-11 22:59:02 | [Mutex] waiting for: [received:nodes:f70a1964-7649-49a0-92ea-afd39a2b1ad8:localhost]

2020-10-11 22:59:02 | [Mutex] received everything.

2020-10-11 22:59:02 | [Mutex] isItemNotified: received:node:f70a1964-7649-49a0-92ea-afd39a2b1ad8:localhost:node-e06dac75-fc25-433d-b276-7a1205d75a93:Node e06dac75-fc25-433d-b276-7a1205d75a93 :: false

createNodes 1.417s
2020-10-11 22:58:58 |

2020-10-11 22:58:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:58:58 | ------------------------------------

2020-10-11 22:58:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e06dac75-fc25-433d-b276-7a1205d75a93</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e06dac75-fc25-433d-b276-7a1205d75a93</title></pubsub></data>

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

2020-10-11 22:59:00 | [Mutex] waiting for: [received:nodes:09b2e966-594f-4221-836a-a637aa0bd9af:localhost]

2020-10-11 22:59:00 | [Mutex] received everything.

2020-10-11 22:59:00 | [Mutex] isItemNotified: received:node:09b2e966-594f-4221-836a-a637aa0bd9af:localhost:node-e06dac75-fc25-433d-b276-7a1205d75a93:Node e06dac75-fc25-433d-b276-7a1205d75a93 :: true

createSubnodes 1.031s
2020-10-11 22:59:00 |

2020-10-11 22:59:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:59:00 | ------------------------------------

2020-10-11 22:59:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-08446ab3-fd68-462d-8cd2-3f0c77872346</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 08446ab3-fd68-462d-8cd2-3f0c77872346</title></pubsub></data>

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

2020-10-11 22:59:01 | [Mutex] waiting for: [received:nodes:ef71e723-00cc-4869-96a8-cdcc1705eaf6:localhost]

2020-10-11 22:59:01 | [Mutex] received everything.

2020-10-11 22:59:01 | [Mutex] isItemNotified: received:node:ef71e723-00cc-4869-96a8-cdcc1705eaf6:localhost:node-08446ab3-fd68-462d-8cd2-3f0c77872346:Node 08446ab3-fd68-462d-8cd2-3f0c77872346 :: true

deleteNodes 1.021s
2020-10-11 22:59:06 |

2020-10-11 22:59:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:59:06 | ------------------------------------

2020-10-11 22:59:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-08446ab3-fd68-462d-8cd2-3f0c77872346</node></data>

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

2020-10-11 22:59:07 | [Mutex] waiting for: [received:nodes:799ddfca-f771-46bf-b803-6f1a4f6d35a2:localhost]

2020-10-11 22:59:07 | [Mutex] waiting for: [received:nodes:799ddfca-f771-46bf-b803-6f1a4f6d35a2:localhost]

2020-10-11 22:59:07 | [Mutex] received everything.

2020-10-11 22:59:07 | [Mutex] isItemNotified: received:node:799ddfca-f771-46bf-b803-6f1a4f6d35a2:localhost:node-08446ab3-fd68-462d-8cd2-3f0c77872346:Node 08446ab3-fd68-462d-8cd2-3f0c77872346 :: false

deleteSubnodes 1.146s
2020-10-11 22:59:05 |

2020-10-11 22:59:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:59:05 | ------------------------------------

2020-10-11 22:59:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e06dac75-fc25-433d-b276-7a1205d75a93</node></data>

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

2020-10-11 22:59:06 | [Mutex] waiting for: [received:nodes:729b978b-8c4c-4ebb-b13e-f9ac7931d98f:localhost]

2020-10-11 22:59:06 | [Mutex] received everything.

2020-10-11 22:59:06 | [Mutex] isItemNotified: received:node:729b978b-8c4c-4ebb-b13e-f9ac7931d98f:localhost:node-e06dac75-fc25-433d-b276-7a1205d75a93:Node e06dac75-fc25-433d-b276-7a1205d75a93 :: false

2020-10-11 22:59:06 | [Mutex] waiting for: [received:nodes:267d08ad-fcae-4e1e-a0c1-8296ff74e7ab:localhost]

2020-10-11 22:59:06 | [Mutex] received everything.

2020-10-11 22:59:06 | [Mutex] isItemNotified: received:node:267d08ad-fcae-4e1e-a0c1-8296ff74e7ab:localhost:node-e06dac75-fc25-433d-b276-7a1205d75a93:Node e06dac75-fc25-433d-b276-7a1205d75a93 :: false

publishItemsToNodes 0.227s
2020-10-11 22:59:03 |

2020-10-11 22:59:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:59:03 | ------------------------------------

2020-10-11 22:59:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e06dac75-fc25-433d-b276-7a1205d75a93</node><item-id>item-cc1aeb31-8952-49ab-9f4b-459613e64856</item-id><entry><test>item-cc1aeb31-8952-49ab-9f4b-459613e64856</test></entry></data>

2020-10-11 22:59:03 | 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-cc1aeb31-8952-49ab-9f4b-459613e64856</value></item-id></result>

2020-10-11 22:59:03 | [Mutex] waiting for: [published:item:notifieditem-cc1aeb31-8952-49ab-9f4b-459613e64856:admin@test-domain.com]

2020-10-11 22:59:03 | [Mutex] received everything.

2020-10-11 22:59:03 | [Mutex] isItemNotified: published:item:notifieditem-cc1aeb31-8952-49ab-9f4b-459613e64856:admin@test-domain.com :: true

retractItemsFromNodes 0.185s
2020-10-11 22:59:04 |

2020-10-11 22:59:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:59:04 | ------------------------------------

2020-10-11 22:59:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e06dac75-fc25-433d-b276-7a1205d75a93</node><item-id>item-cc1aeb31-8952-49ab-9f4b-459613e64856</item-id></data>

2020-10-11 22:59:04 | 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-cc1aeb31-8952-49ab-9f4b-459613e64856</value></item-id></result>

2020-10-11 22:59:04 | [Mutex] waiting for: [retracted:item:notifieditem-cc1aeb31-8952-49ab-9f4b-459613e64856:admin@test-domain.com]

2020-10-11 22:59:04 | [Mutex] received everything.

2020-10-11 22:59:04 | [Mutex] isItemNotified: retracted:item:notifieditem-cc1aeb31-8952-49ab-9f4b-459613e64856:admin@test-domain.com :: true

retrieveItemsFromNodes 0.299s
2020-10-11 22:59:03 |

2020-10-11 22:59:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:59:03 | ------------------------------------

2020-10-11 22:59:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e06dac75-fc25-433d-b276-7a1205d75a93</node><item-id>item-cc1aeb31-8952-49ab-9f4b-459613e64856</item-id></data>

2020-10-11 22:59:04 | 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-e06dac75-fc25-433d-b276-7a1205d75a93</value></node><item-id type="text-single" label="Item ID"><value>item-cc1aeb31-8952-49ab-9f4b-459613e64856</value></item-id><item type="text-multi" label="Item"><value><item id="item-cc1aeb31-8952-49ab-9f4b-459613e64856"><test>item-cc1aeb31-8952-49ab-9f4b-459613e64856</test></item></value></item></result>

2020-10-11 22:59:04 | [Mutex] notify: [retrieved:item:item-cc1aeb31-8952-49ab-9f4b-459613e64856:payload-matches:true:localhost]

2020-10-11 22:59:04 | [Mutex] received everything.

2020-10-11 22:59:04 | [Mutex] isItemNotified: retrieved:item:item-cc1aeb31-8952-49ab-9f4b-459613e64856:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-10-11 22:59:04 |

2020-10-11 22:59:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:59:04 | ------------------------------------

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

2020-10-11 22:59:04 | 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-08446ab3-fd68-462d-8cd2-3f0c77872346</value><value>node-e06dac75-fc25-433d-b276-7a1205d75a93</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2020-10-11 22:59:04 |

2020-10-11 22:59:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:59:04 | ------------------------------------

2020-10-11 22:59:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e06dac75-fc25-433d-b276-7a1205d75a93)</node-pattern></data>

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

subscribeNodes 1.115s
2020-10-11 22:59:02 |

2020-10-11 22:59:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:59:02 | ------------------------------------

2020-10-11 22:59:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e06dac75-fc25-433d-b276-7a1205d75a93</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-11 22:59: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.256s
2020-10-11 22:59:04 |

2020-10-11 22:59:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-11 22:59:04 | ------------------------------------

2020-10-11 22:59:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e06dac75-fc25-433d-b276-7a1205d75a93</node><jids><value>admin@test-domain.com</value></jids></data>

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