Generated by TestNG with ReportNG at 00:18 PDT on Saturday 05 September 2020
root@55161683a995 / 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 : 44.996s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.745s
2020-09-05 00:36:32 |

2020-09-05 00:36:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-05 00:36:32 | ------------------------------------

2020-09-05 00:36:32 | [Mutex] isItemNotified: node_xfscmx0203:exists :: false

2020-09-05 00:36:32 | [Mutex] waiting for: [node_xfscmx0203:create_node]

2020-09-05 00:36:32 | [Mutex] received everything.

2020-09-05 00:36:32 | [Mutex] isItemNotified: node_xfscmx0203:create_node:success :: true

2020-09-05 00:36:32 | [Mutex] waiting for: [node_xfscmx0203:subscribe_node]

2020-09-05 00:36:32 | [Mutex] waiting for: [node_xfscmx0203:subscribe_node]

2020-09-05 00:36:32 | [Mutex] received everything.

2020-09-05 00:36:32 | [Mutex] isItemNotified: node_xfscmx0203:subscribe_node:success :: true

2020-09-05 00:36:32 |


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


2020-09-05 00:36:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-05 00:36:32 | command: <data><node>node_xfscmx0203</node><entry><content>content_p38lfj0204</content></entry></data>

2020-09-05 00:36:32 | target: http://localhost:8088

2020-09-05 00:36:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-05 00:36:32 | entity: <data><node>node_xfscmx0203</node><entry><content>content_p38lfj0204</content></entry></data>

2020-09-05 00:36:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Sep 2020 07:36:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-05 00:36:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>515b67ba-f536-487f-97b0-705dece79a7b</value></item-id></result>

2020-09-05 00:36:32 | contains: true

2020-09-05 00:36:32 | [Mutex] received everything.

2020-09-05 00:36:32 | [Mutex] isItemNotified: user_regular1pdz3x0202@test-domain.com:message:received:content_p38lfj0204 :: true

2020-09-05 00:36:32 |


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


2020-09-05 00:36:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-05 00:36:32 | command: <data><node>node_xfscmx0203</node><expire-at>2020-09-05T07:36:27Z</expire-at><entry><content>content_gsysku0205</content></entry></data>

2020-09-05 00:36:32 | target: http://localhost:8088

2020-09-05 00:36:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-05 00:36:32 | entity: <data><node>node_xfscmx0203</node><expire-at>2020-09-05T07:36:27Z</expire-at><entry><content>content_gsysku0205</content></entry></data>

2020-09-05 00:36:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Sep 2020 07:36:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-05 00:36:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e475f9a9-4c27-447f-aeda-fd894206d90e</value></item-id></result>

2020-09-05 00:36:32 | contains: true

2020-09-05 00:36:32 | [Mutex] waiting for: [user_regular1pdz3x0202@test-domain.com:message:received:content_gsysku0205]

2020-09-05 00:36:47 | [Mutex] timeout. Not received [user_regular1pdz3x0202@test-domain.com:message:received:content_gsysku0205]

2020-09-05 00:36:47 | [Mutex] isItemNotified: user_regular1pdz3x0202@test-domain.com:message:received:content_gsysku0205 :: false

2020-09-05 00:36:47 |


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


2020-09-05 00:36:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-05 00:36:47 | command: <data><node>node_xfscmx0203</node><entry><content>content_cozyis0206</content></entry></data>

2020-09-05 00:36:47 | target: http://localhost:8088

2020-09-05 00:36:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-05 00:36:47 | entity: <data><node>node_xfscmx0203</node><entry><content>content_cozyis0206</content></entry></data>

2020-09-05 00:36:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Sep 2020 07:36:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-05 00:36:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>de85825d-5755-47c1-bdcf-1fbee29a010e</value></item-id></result>

2020-09-05 00:36:47 | contains: true

2020-09-05 00:36:53 | [Mutex] waiting for: [user_regular1pdz3x0202@test-domain.com:message:received:content_cozyis0206]

2020-09-05 00:36:53 | [Mutex] waiting for: [user_regular1pdz3x0202@test-domain.com:message:received:content_cozyis0206]

2020-09-05 00:36:53 | [Mutex] received everything.

2020-09-05 00:36:53 | [Mutex] isItemNotified: user_regular1pdz3x0202@test-domain.com:message:received:content_cozyis0206 :: true

2020-09-05 00:36:53 |


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


2020-09-05 00:36:53 | [Mutex] received everything.

2020-09-05 00:36:53 | [Mutex] isItemNotified: node_xfscmx0203:subscribe_node:success :: true

2020-09-05 00:36:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-05 00:36:53 | command: <data><node>node_xfscmx0203</node><expire-at>2020-09-05T07:36:58Z</expire-at><entry><content>content_7pk4v50207</content></entry></data>

2020-09-05 00:36:53 | target: http://localhost:8088

2020-09-05 00:36:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-05 00:36:53 | entity: <data><node>node_xfscmx0203</node><expire-at>2020-09-05T07:36:58Z</expire-at><entry><content>content_7pk4v50207</content></entry></data>

2020-09-05 00:36:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Sep 2020 07:36:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-05 00:36:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>683205a4-61e8-4214-bd59-eb1e8e742795</value></item-id></result>

2020-09-05 00:36:53 | contains: true

2020-09-05 00:37:01 | [Mutex] waiting for: [user_regular1pdz3x0202@test-domain.com:message:received:content_7pk4v50207]

2020-09-05 00:37:16 | [Mutex] timeout. Not received [user_regular1pdz3x0202@test-domain.com:message:received:content_7pk4v50207]

2020-09-05 00:37:16 | [Mutex] received everything.

2020-09-05 00:37:16 | [Mutex] isItemNotified: user_regular1pdz3x0202@test-domain.com:message:received:content_7pk4v50207 :: false

2020-09-05 00:37:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7pk4v50207 :: true