Generated by TestNG with ReportNG at 04:00 PST on Monday 26 December 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.702s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.700s
2022-12-26 04:15:34 |

2022-12-26 04:15:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-12-26 04:15:34 | ------------------------------------

2022-12-26 04:15:34 | [Mutex] isItemNotified: node_lbtoh0204:exists :: false

2022-12-26 04:15:34 | [Mutex] waiting for: [node_lbtoh0204:create_node]

2022-12-26 04:15:34 | [Mutex] received everything.

2022-12-26 04:15:34 | [Mutex] isItemNotified: node_lbtoh0204:create_node:success :: true

2022-12-26 04:15:34 | [Mutex] waiting for: [node_lbtoh0204:subscribe_node]

2022-12-26 04:15:34 | [Mutex] received everything.

2022-12-26 04:15:34 | [Mutex] isItemNotified: node_lbtoh0204:subscribe_node:success :: true

2022-12-26 04:15:34 |


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


2022-12-26 04:15:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-26 04:15:34 | command: <data><node>node_lbtoh0204</node><entry><content>content_nxl6cm0205</content></entry></data>

2022-12-26 04:15:34 | target: http://localhost:8088

2022-12-26 04:15:34 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-12-26 04:15:34 | entity: <data><node>node_lbtoh0204</node><entry><content>content_nxl6cm0205</content></entry></data>

2022-12-26 04:15:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 12:15:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-26 04:15:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b55f5204-9b4c-4991-b73a-5a6a1f1559c2</value></item-id></result>

2022-12-26 04:15:34 | contains: true

2022-12-26 04:15:34 | [Mutex] waiting for: [user_regularnmifr10203@test-domain.com:message:received:content_nxl6cm0205]

2022-12-26 04:15:34 | [Mutex] received everything.

2022-12-26 04:15:34 | [Mutex] isItemNotified: user_regularnmifr10203@test-domain.com:message:received:content_nxl6cm0205 :: true

2022-12-26 04:15:34 |


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


2022-12-26 04:15:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-26 04:15:34 | command: <data><node>node_lbtoh0204</node><expire-at>2022-12-26T12:15:29Z</expire-at><entry><content>content_oq2xfh0206</content></entry></data>

2022-12-26 04:15:34 | target: http://localhost:8088

2022-12-26 04:15:34 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2022-12-26 04:15:34 | entity: <data><node>node_lbtoh0204</node><expire-at>2022-12-26T12:15:29Z</expire-at><entry><content>content_oq2xfh0206</content></entry></data>

2022-12-26 04:15:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 12:15:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-26 04:15:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5fefd5ac-727a-42ac-9016-7ae75d2f1af9</value></item-id></result>

2022-12-26 04:15:34 | contains: true

2022-12-26 04:15:34 | [Mutex] waiting for: [user_regularnmifr10203@test-domain.com:message:received:content_oq2xfh0206]

2022-12-26 04:15:49 | [Mutex] timeout. Not received [user_regularnmifr10203@test-domain.com:message:received:content_oq2xfh0206]

2022-12-26 04:15:49 | [Mutex] isItemNotified: user_regularnmifr10203@test-domain.com:message:received:content_oq2xfh0206 :: false

2022-12-26 04:15:49 |


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


2022-12-26 04:15:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-26 04:15:49 | command: <data><node>node_lbtoh0204</node><entry><content>content_eamvrl0207</content></entry></data>

2022-12-26 04:15:49 | target: http://localhost:8088

2022-12-26 04:15:49 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-12-26 04:15:49 | entity: <data><node>node_lbtoh0204</node><entry><content>content_eamvrl0207</content></entry></data>

2022-12-26 04:15:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 12:15:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-26 04:15:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2d2436e0-9569-4aa3-9e6d-47862561c7e1</value></item-id></result>

2022-12-26 04:15:49 | contains: true

2022-12-26 04:15:54 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-12-26 04:15:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-12-26 04:15:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-12-26 04:15:54 | [Mutex] waiting for: [user_regularnmifr10203@test-domain.com:message:received:content_eamvrl0207]

2022-12-26 04:15:54 | [Mutex] waiting for: [user_regularnmifr10203@test-domain.com:message:received:content_eamvrl0207]

2022-12-26 04:15:54 | [Mutex] received everything.

2022-12-26 04:15:54 | [Mutex] isItemNotified: user_regularnmifr10203@test-domain.com:message:received:content_eamvrl0207 :: true

2022-12-26 04:15:54 |


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


2022-12-26 04:15:54 | [Mutex] received everything.

2022-12-26 04:15:54 | [Mutex] isItemNotified: node_lbtoh0204:subscribe_node:success :: true

2022-12-26 04:15:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-26 04:15:54 | command: <data><node>node_lbtoh0204</node><expire-at>2022-12-26T12:15:59Z</expire-at><entry><content>content_a0zr8c0208</content></entry></data>

2022-12-26 04:15:54 | target: http://localhost:8088

2022-12-26 04:15:54 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2022-12-26 04:15:54 | entity: <data><node>node_lbtoh0204</node><expire-at>2022-12-26T12:15:59Z</expire-at><entry><content>content_a0zr8c0208</content></entry></data>

2022-12-26 04:15:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 12:15:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-26 04:15:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>964b7f10-9779-418f-877d-01f151d0c248</value></item-id></result>

2022-12-26 04:15:54 | contains: true

2022-12-26 04:16:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-12-26 04:16:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-12-26 04:16:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-12-26 04:16:02 | [Mutex] waiting for: [user_regularnmifr10203@test-domain.com:message:received:content_a0zr8c0208]

2022-12-26 04:16:02 | [Mutex] waiting for: [user_regularnmifr10203@test-domain.com:message:received:content_a0zr8c0208]

2022-12-26 04:16:02 | [Mutex] waiting for: [user_regularnmifr10203@test-domain.com:message:received:content_a0zr8c0208]

2022-12-26 04:16:17 | [Mutex] timeout. Not received [user_regularnmifr10203@test-domain.com:message:received:content_a0zr8c0208]

2022-12-26 04:16:17 | [Mutex] received everything.

2022-12-26 04:16:17 | [Mutex] isItemNotified: user_regularnmifr10203@test-domain.com:message:received:content_a0zr8c0208 :: false

2022-12-26 04:16:17 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_a0zr8c0208 :: true