Generated by TestNG with ReportNG at 22:22 PDT on Thursday 18 March 2021
root@43fec6d4badf / 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.999s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.706s
2021-03-18 22:39:48 |

2021-03-18 22:39:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-18 22:39:48 | ------------------------------------

2021-03-18 22:39:48 | [Mutex] isItemNotified: node_gt7doi0203:exists :: false

2021-03-18 22:39:48 | [Mutex] waiting for: [node_gt7doi0203:create_node]

2021-03-18 22:39:48 | [Mutex] received everything.

2021-03-18 22:39:48 | [Mutex] isItemNotified: node_gt7doi0203:create_node:success :: true

2021-03-18 22:39:48 | [Mutex] waiting for: [node_gt7doi0203:subscribe_node]

2021-03-18 22:39:48 | [Mutex] waiting for: [node_gt7doi0203:subscribe_node]

2021-03-18 22:39:48 | [Mutex] received everything.

2021-03-18 22:39:48 | [Mutex] isItemNotified: node_gt7doi0203:subscribe_node:success :: true

2021-03-18 22:39:48 |


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


2021-03-18 22:39:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-18 22:39:48 | command: <data><node>node_gt7doi0203</node><entry><content>content_s6lw1v0204</content></entry></data>

2021-03-18 22:39:48 | target: http://localhost:8088

2021-03-18 22:39:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-18 22:39:48 | entity: <data><node>node_gt7doi0203</node><entry><content>content_s6lw1v0204</content></entry></data>

2021-03-18 22:39:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Mar 2021 05:39:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-18 22:39:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1dfe59dd-04e8-46e2-abe9-9d39778d31d3</value></item-id></result>

2021-03-18 22:39:48 | contains: true

2021-03-18 22:39:48 | [Mutex] received everything.

2021-03-18 22:39:48 | [Mutex] isItemNotified: user_regularwkz1of0202@test-domain.com:message:received:content_s6lw1v0204 :: true

2021-03-18 22:39:48 |


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


2021-03-18 22:39:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-18 22:39:48 | command: <data><node>node_gt7doi0203</node><expire-at>2021-03-19T05:39:43Z</expire-at><entry><content>content_rzp1840205</content></entry></data>

2021-03-18 22:39:48 | target: http://localhost:8088

2021-03-18 22:39:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-18 22:39:48 | entity: <data><node>node_gt7doi0203</node><expire-at>2021-03-19T05:39:43Z</expire-at><entry><content>content_rzp1840205</content></entry></data>

2021-03-18 22:39:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Mar 2021 05:39:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-18 22:39:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c6cd96da-6d18-4269-8575-1084642c1915</value></item-id></result>

2021-03-18 22:39:48 | contains: true

2021-03-18 22:39:48 | [Mutex] waiting for: [user_regularwkz1of0202@test-domain.com:message:received:content_rzp1840205]

2021-03-18 22:40:03 | [Mutex] timeout. Not received [user_regularwkz1of0202@test-domain.com:message:received:content_rzp1840205]

2021-03-18 22:40:03 | [Mutex] isItemNotified: user_regularwkz1of0202@test-domain.com:message:received:content_rzp1840205 :: false

2021-03-18 22:40:03 |


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


2021-03-18 22:40:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-18 22:40:03 | command: <data><node>node_gt7doi0203</node><entry><content>content_dbnn0s0206</content></entry></data>

2021-03-18 22:40:03 | target: http://localhost:8088

2021-03-18 22:40:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-18 22:40:03 | entity: <data><node>node_gt7doi0203</node><entry><content>content_dbnn0s0206</content></entry></data>

2021-03-18 22:40:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Mar 2021 05:40:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-18 22:40:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5b3f1bf8-0f98-4493-aaf4-2459f8386c22</value></item-id></result>

2021-03-18 22:40:03 | contains: true

2021-03-18 22:40:08 | [Mutex] waiting for: [user_regularwkz1of0202@test-domain.com:message:received:content_dbnn0s0206]

2021-03-18 22:40:08 | [Mutex] received everything.

2021-03-18 22:40:08 | [Mutex] isItemNotified: user_regularwkz1of0202@test-domain.com:message:received:content_dbnn0s0206 :: true

2021-03-18 22:40:08 |


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


2021-03-18 22:40:08 | [Mutex] received everything.

2021-03-18 22:40:08 | [Mutex] isItemNotified: node_gt7doi0203:subscribe_node:success :: true

2021-03-18 22:40:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-18 22:40:09 | command: <data><node>node_gt7doi0203</node><expire-at>2021-03-19T05:40:14Z</expire-at><entry><content>content_ew3wnj0207</content></entry></data>

2021-03-18 22:40:09 | target: http://localhost:8088

2021-03-18 22:40:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-18 22:40:09 | entity: <data><node>node_gt7doi0203</node><expire-at>2021-03-19T05:40:14Z</expire-at><entry><content>content_ew3wnj0207</content></entry></data>

2021-03-18 22:40:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Mar 2021 05:40:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-18 22:40:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>211e6629-b8fd-4087-91f2-8b193f41e1ab</value></item-id></result>

2021-03-18 22:40:09 | contains: true

2021-03-18 22:40:17 | [Mutex] waiting for: [user_regularwkz1of0202@test-domain.com:message:received:content_ew3wnj0207]

2021-03-18 22:40:17 | [Mutex] waiting for: [user_regularwkz1of0202@test-domain.com:message:received:content_ew3wnj0207]

2021-03-18 22:40:32 | [Mutex] timeout. Not received [user_regularwkz1of0202@test-domain.com:message:received:content_ew3wnj0207]

2021-03-18 22:40:32 | [Mutex] received everything.

2021-03-18 22:40:32 | [Mutex] isItemNotified: user_regularwkz1of0202@test-domain.com:message:received:content_ew3wnj0207 :: false

2021-03-18 22:40:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ew3wnj0207 :: true