Generated by TestNG with ReportNG at 21:29 PST on Sunday 05 March 2023
root@7c41cec37518 / 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.817s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.617s
2023-03-05 21:43:56 |

2023-03-05 21:43:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-05 21:43:56 | ------------------------------------

2023-03-05 21:43:56 | [Mutex] isItemNotified: node_hx8o0t0204:exists :: false

2023-03-05 21:43:56 | [Mutex] waiting for: [node_hx8o0t0204:create_node]

2023-03-05 21:43:56 | [Mutex] waiting for: [node_hx8o0t0204:create_node]

2023-03-05 21:43:56 | [Mutex] received everything.

2023-03-05 21:43:56 | [Mutex] isItemNotified: node_hx8o0t0204:create_node:success :: true

2023-03-05 21:43:56 | [Mutex] waiting for: [node_hx8o0t0204:subscribe_node]

2023-03-05 21:43:56 | [Mutex] waiting for: [node_hx8o0t0204:subscribe_node]

2023-03-05 21:43:56 | [Mutex] received everything.

2023-03-05 21:43:56 | [Mutex] isItemNotified: node_hx8o0t0204:subscribe_node:success :: true

2023-03-05 21:43:56 |


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


2023-03-05 21:43:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-05 21:43:56 | command: <data><node>node_hx8o0t0204</node><entry><content>content_uqtqex0205</content></entry></data>

2023-03-05 21:43:56 | target: http://localhost:8088

2023-03-05 21:43:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-05 21:43:56 | entity: <data><node>node_hx8o0t0204</node><entry><content>content_uqtqex0205</content></entry></data>

2023-03-05 21:43:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 05:43:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-05 21:43:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>069d1b36-c69d-457d-a531-8e66ecc11501</value></item-id></result>

2023-03-05 21:43:56 | contains: true

2023-03-05 21:43:56 | [Mutex] waiting for: [user_regular2dk23c0203@test-domain.com:message:received:content_uqtqex0205]

2023-03-05 21:43:56 | [Mutex] received everything.

2023-03-05 21:43:56 | [Mutex] isItemNotified: user_regular2dk23c0203@test-domain.com:message:received:content_uqtqex0205 :: true

2023-03-05 21:43:56 |


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


2023-03-05 21:43:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-05 21:43:56 | command: <data><node>node_hx8o0t0204</node><expire-at>2023-03-06T05:43:51Z</expire-at><entry><content>content_63irpd0206</content></entry></data>

2023-03-05 21:43:56 | target: http://localhost:8088

2023-03-05 21:43:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-05 21:43:56 | entity: <data><node>node_hx8o0t0204</node><expire-at>2023-03-06T05:43:51Z</expire-at><entry><content>content_63irpd0206</content></entry></data>

2023-03-05 21:43:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 05:43:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-05 21:43:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d6042373-0546-4832-ae5c-53204352984d</value></item-id></result>

2023-03-05 21:43:56 | contains: true

2023-03-05 21:43:56 | [Mutex] waiting for: [user_regular2dk23c0203@test-domain.com:message:received:content_63irpd0206]

2023-03-05 21:44:11 | [Mutex] timeout. Not received [user_regular2dk23c0203@test-domain.com:message:received:content_63irpd0206]

2023-03-05 21:44:11 | [Mutex] isItemNotified: user_regular2dk23c0203@test-domain.com:message:received:content_63irpd0206 :: false

2023-03-05 21:44:11 |


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


2023-03-05 21:44:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-05 21:44:11 | command: <data><node>node_hx8o0t0204</node><entry><content>content_7v82qe0207</content></entry></data>

2023-03-05 21:44:11 | target: http://localhost:8088

2023-03-05 21:44:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-05 21:44:11 | entity: <data><node>node_hx8o0t0204</node><entry><content>content_7v82qe0207</content></entry></data>

2023-03-05 21:44:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 05:44:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-05 21:44:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>410fc2a3-1653-4e0a-a36c-e766394afff6</value></item-id></result>

2023-03-05 21:44:11 | contains: true

2023-03-05 21:44:16 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-05 21:44:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2023-03-05 21:44:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-05 21:44:16 | [Mutex] waiting for: [user_regular2dk23c0203@test-domain.com:message:received:content_7v82qe0207]

2023-03-05 21:44:16 | [Mutex] received everything.

2023-03-05 21:44:16 | [Mutex] isItemNotified: user_regular2dk23c0203@test-domain.com:message:received:content_7v82qe0207 :: true

2023-03-05 21:44:16 |


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


2023-03-05 21:44:16 | [Mutex] received everything.

2023-03-05 21:44:16 | [Mutex] isItemNotified: node_hx8o0t0204:subscribe_node:success :: true

2023-03-05 21:44:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-05 21:44:16 | command: <data><node>node_hx8o0t0204</node><expire-at>2023-03-06T05:44:21Z</expire-at><entry><content>content_2rkvfw0208</content></entry></data>

2023-03-05 21:44:16 | target: http://localhost:8088

2023-03-05 21:44:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-05 21:44:16 | entity: <data><node>node_hx8o0t0204</node><expire-at>2023-03-06T05:44:21Z</expire-at><entry><content>content_2rkvfw0208</content></entry></data>

2023-03-05 21:44:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 05:44:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-05 21:44:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>99612e6b-5d99-4ff9-b9a3-a9e26dc54fde</value></item-id></result>

2023-03-05 21:44:17 | contains: true

2023-03-05 21:44:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-05 21:44:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2023-03-05 21:44:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-05 21:44:25 | [Mutex] waiting for: [user_regular2dk23c0203@test-domain.com:message:received:content_2rkvfw0208]

2023-03-05 21:44:25 | [Mutex] waiting for: [user_regular2dk23c0203@test-domain.com:message:received:content_2rkvfw0208]

2023-03-05 21:44:40 | [Mutex] timeout. Not received [user_regular2dk23c0203@test-domain.com:message:received:content_2rkvfw0208]

2023-03-05 21:44:40 | [Mutex] received everything.

2023-03-05 21:44:40 | [Mutex] isItemNotified: user_regular2dk23c0203@test-domain.com:message:received:content_2rkvfw0208 :: false

2023-03-05 21:44:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2rkvfw0208 :: true