Generated by TestNG with ReportNG at 21:13 PST on Monday 21 December 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.664s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.704s
2020-12-21 21:29:45 |

2020-12-21 21:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-12-21 21:29:45 | ------------------------------------

2020-12-21 21:29:45 | [Mutex] isItemNotified: node_cyudn10203:exists :: false

2020-12-21 21:29:45 | [Mutex] waiting for: [node_cyudn10203:create_node]

2020-12-21 21:29:45 | [Mutex] received everything.

2020-12-21 21:29:45 | [Mutex] isItemNotified: node_cyudn10203:create_node:success :: true

2020-12-21 21:29:45 | [Mutex] waiting for: [node_cyudn10203:subscribe_node]

2020-12-21 21:29:45 | [Mutex] waiting for: [node_cyudn10203:subscribe_node]

2020-12-21 21:29:45 | [Mutex] received everything.

2020-12-21 21:29:45 | [Mutex] isItemNotified: node_cyudn10203:subscribe_node:success :: true

2020-12-21 21:29:45 |


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


2020-12-21 21:29:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-21 21:29:45 | command: <data><node>node_cyudn10203</node><entry><content>content_ptalwa0204</content></entry></data>

2020-12-21 21:29:45 | target: http://localhost:8088

2020-12-21 21:29:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-21 21:29:45 | entity: <data><node>node_cyudn10203</node><entry><content>content_ptalwa0204</content></entry></data>

2020-12-21 21:29:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Dec 2020 05:29:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-21 21:29:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>de18704f-ffd8-4c35-bbfd-ec19d9c0a354</value></item-id></result>

2020-12-21 21:29:45 | contains: true

2020-12-21 21:29:45 | [Mutex] received everything.

2020-12-21 21:29:45 | [Mutex] isItemNotified: user_regular2xnz4h0202@test-domain.com:message:received:content_ptalwa0204 :: true

2020-12-21 21:29:45 |


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


2020-12-21 21:29:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-21 21:29:45 | command: <data><node>node_cyudn10203</node><expire-at>2020-12-22T05:29:40Z</expire-at><entry><content>content_6i92ym0205</content></entry></data>

2020-12-21 21:29:45 | target: http://localhost:8088

2020-12-21 21:29:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-21 21:29:45 | entity: <data><node>node_cyudn10203</node><expire-at>2020-12-22T05:29:40Z</expire-at><entry><content>content_6i92ym0205</content></entry></data>

2020-12-21 21:29:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Dec 2020 05:29:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-21 21:29:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8e3008ee-ddca-4bb8-8a89-fa666fea7d1d</value></item-id></result>

2020-12-21 21:29:45 | contains: true

2020-12-21 21:29:45 | [Mutex] waiting for: [user_regular2xnz4h0202@test-domain.com:message:received:content_6i92ym0205]

2020-12-21 21:30:00 | [Mutex] timeout. Not received [user_regular2xnz4h0202@test-domain.com:message:received:content_6i92ym0205]

2020-12-21 21:30:00 | [Mutex] isItemNotified: user_regular2xnz4h0202@test-domain.com:message:received:content_6i92ym0205 :: false

2020-12-21 21:30:00 |


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


2020-12-21 21:30:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-21 21:30:00 | command: <data><node>node_cyudn10203</node><entry><content>content_axz0r0206</content></entry></data>

2020-12-21 21:30:00 | target: http://localhost:8088

2020-12-21 21:30:00 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2020-12-21 21:30:00 | entity: <data><node>node_cyudn10203</node><entry><content>content_axz0r0206</content></entry></data>

2020-12-21 21:30:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Dec 2020 05:30:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-21 21:30:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>19938b93-cf21-452c-a90e-dc60f3870a34</value></item-id></result>

2020-12-21 21:30:00 | contains: true

2020-12-21 21:30:05 | [Mutex] waiting for: [user_regular2xnz4h0202@test-domain.com:message:received:content_axz0r0206]

2020-12-21 21:30:05 | [Mutex] received everything.

2020-12-21 21:30:05 | [Mutex] isItemNotified: user_regular2xnz4h0202@test-domain.com:message:received:content_axz0r0206 :: true

2020-12-21 21:30:05 |


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


2020-12-21 21:30:05 | [Mutex] received everything.

2020-12-21 21:30:05 | [Mutex] isItemNotified: node_cyudn10203:subscribe_node:success :: true

2020-12-21 21:30:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-21 21:30:05 | command: <data><node>node_cyudn10203</node><expire-at>2020-12-22T05:30:10Z</expire-at><entry><content>content_1i4qhk0207</content></entry></data>

2020-12-21 21:30:05 | target: http://localhost:8088

2020-12-21 21:30:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-21 21:30:05 | entity: <data><node>node_cyudn10203</node><expire-at>2020-12-22T05:30:10Z</expire-at><entry><content>content_1i4qhk0207</content></entry></data>

2020-12-21 21:30:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Dec 2020 05:30:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-21 21:30:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>03bbd1a7-d78f-49b9-925a-7e6e5dedfbc1</value></item-id></result>

2020-12-21 21:30:05 | contains: true

2020-12-21 21:30:13 | [Mutex] waiting for: [user_regular2xnz4h0202@test-domain.com:message:received:content_1i4qhk0207]

2020-12-21 21:30:13 | [Mutex] waiting for: [user_regular2xnz4h0202@test-domain.com:message:received:content_1i4qhk0207]

2020-12-21 21:30:13 | [Mutex] waiting for: [user_regular2xnz4h0202@test-domain.com:message:received:content_1i4qhk0207]

2020-12-21 21:30:28 | [Mutex] timeout. Not received [user_regular2xnz4h0202@test-domain.com:message:received:content_1i4qhk0207]

2020-12-21 21:30:28 | [Mutex] received everything.

2020-12-21 21:30:28 | [Mutex] isItemNotified: user_regular2xnz4h0202@test-domain.com:message:received:content_1i4qhk0207 :: false

2020-12-21 21:30:28 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1i4qhk0207 :: true