Generated by TestNG with ReportNG at 21:21 PST on Monday 18 January 2021
root@eaa73862192b / 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.568s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.794s
2021-01-18 21:38:32 |

2021-01-18 21:38:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-18 21:38:32 | ------------------------------------

2021-01-18 21:38:32 | [Mutex] isItemNotified: node_l67l5l0203:exists :: false

2021-01-18 21:38:32 | [Mutex] waiting for: [node_l67l5l0203:create_node]

2021-01-18 21:38:32 | [Mutex] waiting for: [node_l67l5l0203:create_node]

2021-01-18 21:38:32 | [Mutex] received everything.

2021-01-18 21:38:32 | [Mutex] isItemNotified: node_l67l5l0203:create_node:success :: true

2021-01-18 21:38:32 | [Mutex] waiting for: [node_l67l5l0203:subscribe_node]

2021-01-18 21:38:32 | [Mutex] waiting for: [node_l67l5l0203:subscribe_node]

2021-01-18 21:38:32 | [Mutex] received everything.

2021-01-18 21:38:32 | [Mutex] isItemNotified: node_l67l5l0203:subscribe_node:success :: true

2021-01-18 21:38:32 |


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


2021-01-18 21:38:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-18 21:38:32 | command: <data><node>node_l67l5l0203</node><entry><content>content_qzpne90204</content></entry></data>

2021-01-18 21:38:32 | target: http://localhost:8088

2021-01-18 21:38:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-18 21:38:32 | entity: <data><node>node_l67l5l0203</node><entry><content>content_qzpne90204</content></entry></data>

2021-01-18 21:38:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 05:38:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-18 21:38:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c6c71add-1e21-47d8-8292-97fef60f75ac</value></item-id></result>

2021-01-18 21:38:32 | contains: true

2021-01-18 21:38:32 | [Mutex] received everything.

2021-01-18 21:38:32 | [Mutex] isItemNotified: user_regular870f0r0202@test-domain.com:message:received:content_qzpne90204 :: true

2021-01-18 21:38:32 |


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


2021-01-18 21:38:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-18 21:38:32 | command: <data><node>node_l67l5l0203</node><expire-at>2021-01-19T05:38:27Z</expire-at><entry><content>content_h96fp40205</content></entry></data>

2021-01-18 21:38:32 | target: http://localhost:8088

2021-01-18 21:38:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-18 21:38:32 | entity: <data><node>node_l67l5l0203</node><expire-at>2021-01-19T05:38:27Z</expire-at><entry><content>content_h96fp40205</content></entry></data>

2021-01-18 21:38:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 05:38:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-18 21:38:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8b2b02e2-b42b-4958-82c6-77f65e592303</value></item-id></result>

2021-01-18 21:38:32 | contains: true

2021-01-18 21:38:32 | [Mutex] waiting for: [user_regular870f0r0202@test-domain.com:message:received:content_h96fp40205]

2021-01-18 21:38:47 | [Mutex] timeout. Not received [user_regular870f0r0202@test-domain.com:message:received:content_h96fp40205]

2021-01-18 21:38:47 | [Mutex] isItemNotified: user_regular870f0r0202@test-domain.com:message:received:content_h96fp40205 :: false

2021-01-18 21:38:47 |


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


2021-01-18 21:38:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-18 21:38:47 | command: <data><node>node_l67l5l0203</node><entry><content>content_kc7er90206</content></entry></data>

2021-01-18 21:38:47 | target: http://localhost:8088

2021-01-18 21:38:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-18 21:38:47 | entity: <data><node>node_l67l5l0203</node><entry><content>content_kc7er90206</content></entry></data>

2021-01-18 21:38:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 05:38:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-18 21:38:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>55a5bd5f-5bfa-4ba2-b204-b4b832f3a667</value></item-id></result>

2021-01-18 21:38:48 | contains: true

2021-01-18 21:38:53 | [Mutex] waiting for: [user_regular870f0r0202@test-domain.com:message:received:content_kc7er90206]

2021-01-18 21:38:53 | [Mutex] waiting for: [user_regular870f0r0202@test-domain.com:message:received:content_kc7er90206]

2021-01-18 21:38:53 | [Mutex] received everything.

2021-01-18 21:38:53 | [Mutex] isItemNotified: user_regular870f0r0202@test-domain.com:message:received:content_kc7er90206 :: true

2021-01-18 21:38:53 |


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


2021-01-18 21:38:53 | [Mutex] received everything.

2021-01-18 21:38:53 | [Mutex] isItemNotified: node_l67l5l0203:subscribe_node:success :: true

2021-01-18 21:38:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-18 21:38:53 | command: <data><node>node_l67l5l0203</node><expire-at>2021-01-19T05:38:58Z</expire-at><entry><content>content_wbb0o80207</content></entry></data>

2021-01-18 21:38:53 | target: http://localhost:8088

2021-01-18 21:38:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-18 21:38:53 | entity: <data><node>node_l67l5l0203</node><expire-at>2021-01-19T05:38:58Z</expire-at><entry><content>content_wbb0o80207</content></entry></data>

2021-01-18 21:38:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 05:38:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-18 21:38:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5f598e2c-61d4-45fb-9eae-6749cc9bbc0e</value></item-id></result>

2021-01-18 21:38:53 | contains: true

2021-01-18 21:39:01 | [Mutex] waiting for: [user_regular870f0r0202@test-domain.com:message:received:content_wbb0o80207]

2021-01-18 21:39:01 | [Mutex] waiting for: [user_regular870f0r0202@test-domain.com:message:received:content_wbb0o80207]

2021-01-18 21:39:01 | [Mutex] waiting for: [user_regular870f0r0202@test-domain.com:message:received:content_wbb0o80207]

2021-01-18 21:39:16 | [Mutex] timeout. Not received [user_regular870f0r0202@test-domain.com:message:received:content_wbb0o80207]

2021-01-18 21:39:16 | [Mutex] received everything.

2021-01-18 21:39:16 | [Mutex] isItemNotified: user_regular870f0r0202@test-domain.com:message:received:content_wbb0o80207 :: false

2021-01-18 21:39:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wbb0o80207 :: true