Generated by TestNG with ReportNG at 22:19 PDT on Sunday 14 August 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.896s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.573s
2022-08-14 22:33:24 |

2022-08-14 22:33:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-14 22:33:24 | ------------------------------------

2022-08-14 22:33:24 | [Mutex] isItemNotified: node_f2lkgc0204:exists :: false

2022-08-14 22:33:24 | [Mutex] waiting for: [node_f2lkgc0204:create_node]

2022-08-14 22:33:24 | [Mutex] received everything.

2022-08-14 22:33:24 | [Mutex] isItemNotified: node_f2lkgc0204:create_node:success :: true

2022-08-14 22:33:24 | [Mutex] waiting for: [node_f2lkgc0204:subscribe_node]

2022-08-14 22:33:25 | [Mutex] received everything.

2022-08-14 22:33:25 | [Mutex] isItemNotified: node_f2lkgc0204:subscribe_node:success :: true

2022-08-14 22:33:25 |


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


2022-08-14 22:33:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-14 22:33:25 | command: <data><node>node_f2lkgc0204</node><entry><content>content_emc1he0205</content></entry></data>

2022-08-14 22:33:25 | target: http://localhost:8088

2022-08-14 22:33:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-14 22:33:25 | entity: <data><node>node_f2lkgc0204</node><entry><content>content_emc1he0205</content></entry></data>

2022-08-14 22:33:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Aug 2022 05:33:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-14 22:33:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>993536fe-94d4-4478-bf9a-83e84e2537eb</value></item-id></result>

2022-08-14 22:33:25 | contains: true

2022-08-14 22:33:25 | [Mutex] received everything.

2022-08-14 22:33:25 | [Mutex] isItemNotified: user_regularf8eei70203@test-domain.com:message:received:content_emc1he0205 :: true

2022-08-14 22:33:25 |


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


2022-08-14 22:33:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-14 22:33:25 | command: <data><node>node_f2lkgc0204</node><expire-at>2022-08-15T05:33:20Z</expire-at><entry><content>content_1ndtwq0206</content></entry></data>

2022-08-14 22:33:25 | target: http://localhost:8088

2022-08-14 22:33:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-14 22:33:25 | entity: <data><node>node_f2lkgc0204</node><expire-at>2022-08-15T05:33:20Z</expire-at><entry><content>content_1ndtwq0206</content></entry></data>

2022-08-14 22:33:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Aug 2022 05:33:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-14 22:33:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0f77e26d-2f84-4eb9-b221-553256af5b98</value></item-id></result>

2022-08-14 22:33:25 | contains: true

2022-08-14 22:33:25 | [Mutex] waiting for: [user_regularf8eei70203@test-domain.com:message:received:content_1ndtwq0206]

2022-08-14 22:33:40 | [Mutex] timeout. Not received [user_regularf8eei70203@test-domain.com:message:received:content_1ndtwq0206]

2022-08-14 22:33:40 | [Mutex] isItemNotified: user_regularf8eei70203@test-domain.com:message:received:content_1ndtwq0206 :: false

2022-08-14 22:33:40 |


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


2022-08-14 22:33:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-14 22:33:40 | command: <data><node>node_f2lkgc0204</node><entry><content>content_sf3klo0207</content></entry></data>

2022-08-14 22:33:40 | target: http://localhost:8088

2022-08-14 22:33:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-14 22:33:40 | entity: <data><node>node_f2lkgc0204</node><entry><content>content_sf3klo0207</content></entry></data>

2022-08-14 22:33:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Aug 2022 05:33:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-14 22:33:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d58e363e-2bf8-4631-a0d1-d3980ef549de</value></item-id></result>

2022-08-14 22:33:40 | contains: true

2022-08-14 22:33:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-14 22:33:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-08-14 22:33:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-14 22:33:45 | [Mutex] waiting for: [user_regularf8eei70203@test-domain.com:message:received:content_sf3klo0207]

2022-08-14 22:33:45 | [Mutex] received everything.

2022-08-14 22:33:45 | [Mutex] isItemNotified: user_regularf8eei70203@test-domain.com:message:received:content_sf3klo0207 :: true

2022-08-14 22:33:45 |


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


2022-08-14 22:33:45 | [Mutex] received everything.

2022-08-14 22:33:45 | [Mutex] isItemNotified: node_f2lkgc0204:subscribe_node:success :: true

2022-08-14 22:33:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-14 22:33:45 | command: <data><node>node_f2lkgc0204</node><expire-at>2022-08-15T05:33:50Z</expire-at><entry><content>content_ux78eo0208</content></entry></data>

2022-08-14 22:33:45 | target: http://localhost:8088

2022-08-14 22:33:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-14 22:33:45 | entity: <data><node>node_f2lkgc0204</node><expire-at>2022-08-15T05:33:50Z</expire-at><entry><content>content_ux78eo0208</content></entry></data>

2022-08-14 22:33:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Aug 2022 05:33:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-14 22:33:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1c82a0ca-3b36-4761-ad27-3244bb0fac89</value></item-id></result>

2022-08-14 22:33:45 | contains: true

2022-08-14 22:33:53 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-14 22:33:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-08-14 22:33:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-14 22:33:53 | [Mutex] waiting for: [user_regularf8eei70203@test-domain.com:message:received:content_ux78eo0208]

2022-08-14 22:34:08 | [Mutex] timeout. Not received [user_regularf8eei70203@test-domain.com:message:received:content_ux78eo0208]

2022-08-14 22:34:08 | [Mutex] received everything.

2022-08-14 22:34:08 | [Mutex] isItemNotified: user_regularf8eei70203@test-domain.com:message:received:content_ux78eo0208 :: false

2022-08-14 22:34:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ux78eo0208 :: true