Generated by TestNG with ReportNG at 22:46 PDT on Friday 09 October 2020
root@87f6aca6b6f2 / 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.692s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.864s
2020-10-09 23:03:32 |

2020-10-09 23:03:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-09 23:03:32 | ------------------------------------

2020-10-09 23:03:32 | [Mutex] isItemNotified: node_s62arv0203:exists :: false

2020-10-09 23:03:32 | [Mutex] waiting for: [node_s62arv0203:create_node]

2020-10-09 23:03:32 | [Mutex] received everything.

2020-10-09 23:03:32 | [Mutex] isItemNotified: node_s62arv0203:create_node:success :: true

2020-10-09 23:03:32 | [Mutex] waiting for: [node_s62arv0203:subscribe_node]

2020-10-09 23:03:32 | [Mutex] waiting for: [node_s62arv0203:subscribe_node]

2020-10-09 23:03:32 | [Mutex] received everything.

2020-10-09 23:03:32 | [Mutex] isItemNotified: node_s62arv0203:subscribe_node:success :: true

2020-10-09 23:03:32 |


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


2020-10-09 23:03:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-09 23:03:32 | command: <data><node>node_s62arv0203</node><entry><content>content_dgy2h0204</content></entry></data>

2020-10-09 23:03:32 | target: http://localhost:8088

2020-10-09 23:03:32 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2020-10-09 23:03:32 | entity: <data><node>node_s62arv0203</node><entry><content>content_dgy2h0204</content></entry></data>

2020-10-09 23:03:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 06:03:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-09 23:03:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>55121e47-6378-4679-9420-871ecdf3ad2b</value></item-id></result>

2020-10-09 23:03:32 | contains: true

2020-10-09 23:03:32 | [Mutex] received everything.

2020-10-09 23:03:32 | [Mutex] isItemNotified: user_regular85gmmj0202@test-domain.com:message:received:content_dgy2h0204 :: true

2020-10-09 23:03:32 |


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


2020-10-09 23:03:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-09 23:03:32 | command: <data><node>node_s62arv0203</node><expire-at>2020-10-10T06:03:27Z</expire-at><entry><content>content_gktotf0205</content></entry></data>

2020-10-09 23:03:32 | target: http://localhost:8088

2020-10-09 23:03:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-09 23:03:32 | entity: <data><node>node_s62arv0203</node><expire-at>2020-10-10T06:03:27Z</expire-at><entry><content>content_gktotf0205</content></entry></data>

2020-10-09 23:03:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 06:03:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-09 23:03:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a3800220-a5ec-49b2-a791-ae8412cc6ea0</value></item-id></result>

2020-10-09 23:03:32 | contains: true

2020-10-09 23:03:32 | [Mutex] waiting for: [user_regular85gmmj0202@test-domain.com:message:received:content_gktotf0205]

2020-10-09 23:03:47 | [Mutex] timeout. Not received [user_regular85gmmj0202@test-domain.com:message:received:content_gktotf0205]

2020-10-09 23:03:47 | [Mutex] isItemNotified: user_regular85gmmj0202@test-domain.com:message:received:content_gktotf0205 :: false

2020-10-09 23:03:47 |


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


2020-10-09 23:03:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-09 23:03:47 | command: <data><node>node_s62arv0203</node><entry><content>content_5363ji0206</content></entry></data>

2020-10-09 23:03:47 | target: http://localhost:8088

2020-10-09 23:03:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-09 23:03:47 | entity: <data><node>node_s62arv0203</node><entry><content>content_5363ji0206</content></entry></data>

2020-10-09 23:03:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 06:03:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-09 23:03:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>329ebc7d-ec7a-4150-977a-c43c980f7982</value></item-id></result>

2020-10-09 23:03:47 | contains: true

2020-10-09 23:03:52 | [Mutex] waiting for: [user_regular85gmmj0202@test-domain.com:message:received:content_5363ji0206]

2020-10-09 23:03:52 | [Mutex] received everything.

2020-10-09 23:03:52 | [Mutex] isItemNotified: user_regular85gmmj0202@test-domain.com:message:received:content_5363ji0206 :: true

2020-10-09 23:03:52 |


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


2020-10-09 23:03:52 | [Mutex] received everything.

2020-10-09 23:03:52 | [Mutex] isItemNotified: node_s62arv0203:subscribe_node:success :: true

2020-10-09 23:03:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-09 23:03:52 | command: <data><node>node_s62arv0203</node><expire-at>2020-10-10T06:03:57Z</expire-at><entry><content>content_wt61bu0207</content></entry></data>

2020-10-09 23:03:52 | target: http://localhost:8088

2020-10-09 23:03:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-09 23:03:52 | entity: <data><node>node_s62arv0203</node><expire-at>2020-10-10T06:03:57Z</expire-at><entry><content>content_wt61bu0207</content></entry></data>

2020-10-09 23:03:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 06:03:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-09 23:03:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8a2ed463-2f19-4e05-abfb-2ffafe8554b5</value></item-id></result>

2020-10-09 23:03:53 | contains: true

2020-10-09 23:04:01 | [Mutex] waiting for: [user_regular85gmmj0202@test-domain.com:message:received:content_wt61bu0207]

2020-10-09 23:04:01 | [Mutex] waiting for: [user_regular85gmmj0202@test-domain.com:message:received:content_wt61bu0207]

2020-10-09 23:04:16 | [Mutex] timeout. Not received [user_regular85gmmj0202@test-domain.com:message:received:content_wt61bu0207]

2020-10-09 23:04:16 | [Mutex] received everything.

2020-10-09 23:04:16 | [Mutex] isItemNotified: user_regular85gmmj0202@test-domain.com:message:received:content_wt61bu0207 :: false

2020-10-09 23:04:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wt61bu0207 :: true