Generated by TestNG with ReportNG at 22:48 PDT on Sunday 26 March 2023
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.449s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.574s
2023-03-26 23:02:38 |

2023-03-26 23:02:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-26 23:02:38 | ------------------------------------

2023-03-26 23:02:38 | [Mutex] isItemNotified: node_7xrnik0208:exists :: false

2023-03-26 23:02:38 | [Mutex] waiting for: [node_7xrnik0208:create_node]

2023-03-26 23:02:38 | [Mutex] waiting for: [node_7xrnik0208:create_node]

2023-03-26 23:02:38 | [Mutex] received everything.

2023-03-26 23:02:38 | [Mutex] isItemNotified: node_7xrnik0208:create_node:success :: true

2023-03-26 23:02:38 | [Mutex] waiting for: [node_7xrnik0208:subscribe_node]

2023-03-26 23:02:38 | [Mutex] waiting for: [node_7xrnik0208:subscribe_node]

2023-03-26 23:02:38 | [Mutex] received everything.

2023-03-26 23:02:38 | [Mutex] isItemNotified: node_7xrnik0208:subscribe_node:success :: true

2023-03-26 23:02:38 |


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


2023-03-26 23:02:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-26 23:02:38 | command: <data><node>node_7xrnik0208</node><entry><content>content_75u0ek0209</content></entry></data>

2023-03-26 23:02:38 | target: http://localhost:8088

2023-03-26 23:02:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-26 23:02:38 | entity: <data><node>node_7xrnik0208</node><entry><content>content_75u0ek0209</content></entry></data>

2023-03-26 23:02:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 27 Mar 2023 06:02:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-26 23:02:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>977ce81d-86cf-4931-b770-51fa40dd11c9</value></item-id></result>

2023-03-26 23:02:38 | contains: true

2023-03-26 23:02:38 | [Mutex] received everything.

2023-03-26 23:02:38 | [Mutex] isItemNotified: user_regular61glzt0207@test-domain.com:message:received:content_75u0ek0209 :: true

2023-03-26 23:02:38 |


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


2023-03-26 23:02:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-26 23:02:38 | command: <data><node>node_7xrnik0208</node><expire-at>2023-03-27T06:02:33Z</expire-at><entry><content>content_jig6170210</content></entry></data>

2023-03-26 23:02:38 | target: http://localhost:8088

2023-03-26 23:02:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-26 23:02:38 | entity: <data><node>node_7xrnik0208</node><expire-at>2023-03-27T06:02:33Z</expire-at><entry><content>content_jig6170210</content></entry></data>

2023-03-26 23:02:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 27 Mar 2023 06:02:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-26 23:02:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>94d258db-0f7f-49a9-b711-5f867f96e415</value></item-id></result>

2023-03-26 23:02:38 | contains: true

2023-03-26 23:02:38 | [Mutex] waiting for: [user_regular61glzt0207@test-domain.com:message:received:content_jig6170210]

2023-03-26 23:02:53 | [Mutex] timeout. Not received [user_regular61glzt0207@test-domain.com:message:received:content_jig6170210]

2023-03-26 23:02:53 | [Mutex] isItemNotified: user_regular61glzt0207@test-domain.com:message:received:content_jig6170210 :: false

2023-03-26 23:02:53 |


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


2023-03-26 23:02:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-26 23:02:53 | command: <data><node>node_7xrnik0208</node><entry><content>content_hnmnne0211</content></entry></data>

2023-03-26 23:02:53 | target: http://localhost:8088

2023-03-26 23:02:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-26 23:02:53 | entity: <data><node>node_7xrnik0208</node><entry><content>content_hnmnne0211</content></entry></data>

2023-03-26 23:02:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 27 Mar 2023 06:02:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-26 23:02:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f03d3c2c-ed22-4c74-8717-63ab377cfeb0</value></item-id></result>

2023-03-26 23:02:53 | contains: true

2023-03-26 23:02:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-26 23:02:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-03-26 23:02:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-26 23:02:58 | [Mutex] waiting for: [user_regular61glzt0207@test-domain.com:message:received:content_hnmnne0211]

2023-03-26 23:02:58 | [Mutex] waiting for: [user_regular61glzt0207@test-domain.com:message:received:content_hnmnne0211]

2023-03-26 23:02:58 | [Mutex] received everything.

2023-03-26 23:02:58 | [Mutex] isItemNotified: user_regular61glzt0207@test-domain.com:message:received:content_hnmnne0211 :: true

2023-03-26 23:02:58 |


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


2023-03-26 23:02:58 | [Mutex] received everything.

2023-03-26 23:02:58 | [Mutex] isItemNotified: node_7xrnik0208:subscribe_node:success :: true

2023-03-26 23:02:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-26 23:02:58 | command: <data><node>node_7xrnik0208</node><expire-at>2023-03-27T06:03:03Z</expire-at><entry><content>content_rmno0212</content></entry></data>

2023-03-26 23:02:58 | target: http://localhost:8088

2023-03-26 23:02:58 | entity: [Content-Type: application/xml,Content-Length: 134,Chunked: false]

2023-03-26 23:02:58 | entity: <data><node>node_7xrnik0208</node><expire-at>2023-03-27T06:03:03Z</expire-at><entry><content>content_rmno0212</content></entry></data>

2023-03-26 23:02:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 27 Mar 2023 06:02:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-26 23:02:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e3bfb360-27a3-4506-8e29-0ece7cb5db92</value></item-id></result>

2023-03-26 23:02:58 | contains: true

2023-03-26 23:03:06 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-26 23:03:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-03-26 23:03:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-26 23:03:07 | [Mutex] waiting for: [user_regular61glzt0207@test-domain.com:message:received:content_rmno0212]

2023-03-26 23:03:07 | [Mutex] waiting for: [user_regular61glzt0207@test-domain.com:message:received:content_rmno0212]

2023-03-26 23:03:07 | [Mutex] waiting for: [user_regular61glzt0207@test-domain.com:message:received:content_rmno0212]

2023-03-26 23:03:22 | [Mutex] timeout. Not received [user_regular61glzt0207@test-domain.com:message:received:content_rmno0212]

2023-03-26 23:03:22 | [Mutex] received everything.

2023-03-26 23:03:22 | [Mutex] isItemNotified: user_regular61glzt0207@test-domain.com:message:received:content_rmno0212 :: false

2023-03-26 23:03:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rmno0212 :: true