Generated by TestNG with ReportNG at 22:44 PDT on Sunday 18 October 2020
root@87f6aca6b6f2 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.816s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.803s
2020-10-18 23:00:08 |

2020-10-18 23:00:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-18 23:00:08 | ------------------------------------

2020-10-18 23:00:08 | [Mutex] isItemNotified: node_eqvdg40203:exists :: false

2020-10-18 23:00:08 | [Mutex] waiting for: [node_eqvdg40203:create_node]

2020-10-18 23:00:08 | [Mutex] received everything.

2020-10-18 23:00:08 | [Mutex] isItemNotified: node_eqvdg40203:create_node:success :: true

2020-10-18 23:00:08 | [Mutex] waiting for: [node_eqvdg40203:subscribe_node]

2020-10-18 23:00:08 | [Mutex] waiting for: [node_eqvdg40203:subscribe_node]

2020-10-18 23:00:08 | [Mutex] received everything.

2020-10-18 23:00:08 | [Mutex] isItemNotified: node_eqvdg40203:subscribe_node:success :: true

2020-10-18 23:00:08 |


===== publishing normal message (to online)


2020-10-18 23:00:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-18 23:00:08 | command: <data><node>node_eqvdg40203</node><entry><content>content_tkuv0x0204</content></entry></data>

2020-10-18 23:00:08 | target: http://localhost:8088

2020-10-18 23:00:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-18 23:00:08 | entity: <data><node>node_eqvdg40203</node><entry><content>content_tkuv0x0204</content></entry></data>

2020-10-18 23:00:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 06:00:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-18 23:00:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f20e138c-666f-4392-b11f-398e6c7197c1</value></item-id></result>

2020-10-18 23:00:08 | contains: true

2020-10-18 23:00:08 | [Mutex] received everything.

2020-10-18 23:00:08 | [Mutex] isItemNotified: user_regularcyslpk0202@test-domain.com:message:received:content_tkuv0x0204 :: true

2020-10-18 23:00:08 |


===== publishing already old message - expecting message being filtered out (to online)


2020-10-18 23:00:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-18 23:00:08 | command: <data><node>node_eqvdg40203</node><expire-at>2020-10-19T06:00:03Z</expire-at><entry><content>content_6il4sb0205</content></entry></data>

2020-10-18 23:00:08 | target: http://localhost:8088

2020-10-18 23:00:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-18 23:00:08 | entity: <data><node>node_eqvdg40203</node><expire-at>2020-10-19T06:00:03Z</expire-at><entry><content>content_6il4sb0205</content></entry></data>

2020-10-18 23:00:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 06:00:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-18 23:00:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d462a126-5ae3-4aab-a56a-b9a95f96b9e4</value></item-id></result>

2020-10-18 23:00:08 | contains: true

2020-10-18 23:00:08 | [Mutex] waiting for: [user_regularcyslpk0202@test-domain.com:message:received:content_6il4sb0205]

2020-10-18 23:00:23 | [Mutex] timeout. Not received [user_regularcyslpk0202@test-domain.com:message:received:content_6il4sb0205]

2020-10-18 23:00:23 | [Mutex] isItemNotified: user_regularcyslpk0202@test-domain.com:message:received:content_6il4sb0205 :: false

2020-10-18 23:00:23 |


===== publishing normal message (to offline)


2020-10-18 23:00:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-18 23:00:23 | command: <data><node>node_eqvdg40203</node><entry><content>content_gyfah10206</content></entry></data>

2020-10-18 23:00:23 | target: http://localhost:8088

2020-10-18 23:00:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-18 23:00:23 | entity: <data><node>node_eqvdg40203</node><entry><content>content_gyfah10206</content></entry></data>

2020-10-18 23:00:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 06:00:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-18 23:00:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f411e2f4-c1b9-44bf-aa41-282ff2ea062f</value></item-id></result>

2020-10-18 23:00:23 | contains: true

2020-10-18 23:00:29 | [Mutex] waiting for: [user_regularcyslpk0202@test-domain.com:message:received:content_gyfah10206]

2020-10-18 23:00:29 | [Mutex] received everything.

2020-10-18 23:00:29 | [Mutex] isItemNotified: user_regularcyslpk0202@test-domain.com:message:received:content_gyfah10206 :: true

2020-10-18 23:00:29 |


===== publishing already old message - expecting message being filtered out (to offline)


2020-10-18 23:00:29 | [Mutex] received everything.

2020-10-18 23:00:29 | [Mutex] isItemNotified: node_eqvdg40203:subscribe_node:success :: true

2020-10-18 23:00:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-18 23:00:29 | command: <data><node>node_eqvdg40203</node><expire-at>2020-10-19T06:00:34Z</expire-at><entry><content>content_odl5790207</content></entry></data>

2020-10-18 23:00:29 | target: http://localhost:8088

2020-10-18 23:00:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-18 23:00:29 | entity: <data><node>node_eqvdg40203</node><expire-at>2020-10-19T06:00:34Z</expire-at><entry><content>content_odl5790207</content></entry></data>

2020-10-18 23:00:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 06:00:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-18 23:00:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ff64216c-d3b0-4aac-80aa-567b8de53bf6</value></item-id></result>

2020-10-18 23:00:29 | contains: true

2020-10-18 23:00:37 | [Mutex] waiting for: [user_regularcyslpk0202@test-domain.com:message:received:content_odl5790207]

2020-10-18 23:00:37 | [Mutex] waiting for: [user_regularcyslpk0202@test-domain.com:message:received:content_odl5790207]

2020-10-18 23:00:52 | [Mutex] timeout. Not received [user_regularcyslpk0202@test-domain.com:message:received:content_odl5790207]

2020-10-18 23:00:52 | [Mutex] received everything.

2020-10-18 23:00:52 | [Mutex] isItemNotified: user_regularcyslpk0202@test-domain.com:message:received:content_odl5790207 :: false

2020-10-18 23:00:52 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_odl5790207 :: true