Generated by TestNG with ReportNG at 21:13 PST on Thursday 26 November 2020
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.461s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.848s
2020-11-26 21:30:39 |

2020-11-26 21:30:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-26 21:30:39 | ------------------------------------

2020-11-26 21:30:39 | [Mutex] isItemNotified: node_973pdm0203:exists :: false

2020-11-26 21:30:39 | [Mutex] waiting for: [node_973pdm0203:create_node]

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

2020-11-26 21:30:39 | [Mutex] isItemNotified: node_973pdm0203:create_node:success :: true

2020-11-26 21:30:39 | [Mutex] waiting for: [node_973pdm0203:subscribe_node]

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

2020-11-26 21:30:39 | [Mutex] isItemNotified: node_973pdm0203:subscribe_node:success :: true

2020-11-26 21:30:39 |


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


2020-11-26 21:30:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-26 21:30:39 | command: <data><node>node_973pdm0203</node><entry><content>content_nxk0is0204</content></entry></data>

2020-11-26 21:30:39 | target: http://localhost:8088

2020-11-26 21:30:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-26 21:30:39 | entity: <data><node>node_973pdm0203</node><entry><content>content_nxk0is0204</content></entry></data>

2020-11-26 21:30:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 05:30:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-26 21:30:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8fbe828e-7e19-4937-b63b-35377fffa408</value></item-id></result>

2020-11-26 21:30:39 | contains: true

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

2020-11-26 21:30:39 | [Mutex] isItemNotified: user_regularxbjxwc0202@test-domain.com:message:received:content_nxk0is0204 :: true

2020-11-26 21:30:39 |


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


2020-11-26 21:30:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-26 21:30:39 | command: <data><node>node_973pdm0203</node><expire-at>2020-11-27T05:30:34Z</expire-at><entry><content>content_hxyd8u0205</content></entry></data>

2020-11-26 21:30:39 | target: http://localhost:8088

2020-11-26 21:30:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-26 21:30:39 | entity: <data><node>node_973pdm0203</node><expire-at>2020-11-27T05:30:34Z</expire-at><entry><content>content_hxyd8u0205</content></entry></data>

2020-11-26 21:30:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 05:30:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-26 21:30:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f6d6c0dd-51db-4073-a162-1a66bda81787</value></item-id></result>

2020-11-26 21:30:39 | contains: true

2020-11-26 21:30:39 | [Mutex] waiting for: [user_regularxbjxwc0202@test-domain.com:message:received:content_hxyd8u0205]

2020-11-26 21:30:54 | [Mutex] timeout. Not received [user_regularxbjxwc0202@test-domain.com:message:received:content_hxyd8u0205]

2020-11-26 21:30:54 | [Mutex] isItemNotified: user_regularxbjxwc0202@test-domain.com:message:received:content_hxyd8u0205 :: false

2020-11-26 21:30:54 |


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


2020-11-26 21:30:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-26 21:30:55 | command: <data><node>node_973pdm0203</node><entry><content>content_eyj9yc0206</content></entry></data>

2020-11-26 21:30:55 | target: http://localhost:8088

2020-11-26 21:30:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-26 21:30:55 | entity: <data><node>node_973pdm0203</node><entry><content>content_eyj9yc0206</content></entry></data>

2020-11-26 21:30:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 05:30:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-26 21:30:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e4f6d1d2-d44f-4ce5-a4e3-7603a5f4bdec</value></item-id></result>

2020-11-26 21:30:55 | contains: true

2020-11-26 21:31:00 | [Mutex] waiting for: [user_regularxbjxwc0202@test-domain.com:message:received:content_eyj9yc0206]

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

2020-11-26 21:31:00 | [Mutex] isItemNotified: user_regularxbjxwc0202@test-domain.com:message:received:content_eyj9yc0206 :: true

2020-11-26 21:31:00 |


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


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

2020-11-26 21:31:00 | [Mutex] isItemNotified: node_973pdm0203:subscribe_node:success :: true

2020-11-26 21:31:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-26 21:31:00 | command: <data><node>node_973pdm0203</node><expire-at>2020-11-27T05:31:05Z</expire-at><entry><content>content_l2up3a0207</content></entry></data>

2020-11-26 21:31:00 | target: http://localhost:8088

2020-11-26 21:31:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-26 21:31:00 | entity: <data><node>node_973pdm0203</node><expire-at>2020-11-27T05:31:05Z</expire-at><entry><content>content_l2up3a0207</content></entry></data>

2020-11-26 21:31:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 05:31:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-26 21:31:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>75f39a52-d263-4c41-b650-b8300030fe22</value></item-id></result>

2020-11-26 21:31:00 | contains: true

2020-11-26 21:31:08 | [Mutex] waiting for: [user_regularxbjxwc0202@test-domain.com:message:received:content_l2up3a0207]

2020-11-26 21:31:08 | [Mutex] waiting for: [user_regularxbjxwc0202@test-domain.com:message:received:content_l2up3a0207]

2020-11-26 21:31:23 | [Mutex] timeout. Not received [user_regularxbjxwc0202@test-domain.com:message:received:content_l2up3a0207]

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

2020-11-26 21:31:23 | [Mutex] isItemNotified: user_regularxbjxwc0202@test-domain.com:message:received:content_l2up3a0207 :: false

2020-11-26 21:31:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_l2up3a0207 :: true