Generated by TestNG with ReportNG at 23:14 PDT on Wednesday 25 October 2023
root@8dfa9d99ff97 / Java 17.0.8 (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.763s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.653s
2023-10-25 23:29:30 |

2023-10-25 23:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-10-25 23:29:30 | ------------------------------------

2023-10-25 23:29:30 | [Mutex] isItemNotified: node_h3ebj20208:exists :: false

2023-10-25 23:29:30 | [Mutex] waiting for: [node_h3ebj20208:create_node]

2023-10-25 23:29:30 | [Mutex] received everything.

2023-10-25 23:29:30 | [Mutex] isItemNotified: node_h3ebj20208:create_node:success :: true

2023-10-25 23:29:30 | [Mutex] waiting for: [node_h3ebj20208:subscribe_node]

2023-10-25 23:29:30 | [Mutex] waiting for: [node_h3ebj20208:subscribe_node]

2023-10-25 23:29:30 | [Mutex] received everything.

2023-10-25 23:29:30 | [Mutex] isItemNotified: node_h3ebj20208:subscribe_node:success :: true

2023-10-25 23:29:30 |


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


2023-10-25 23:29:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-10-25 23:29:30 | command: <data><node>node_h3ebj20208</node><entry><content>content_olfcmw0209</content></entry></data>

2023-10-25 23:29:30 | target: http://localhost:8088

2023-10-25 23:29:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-10-25 23:29:30 | entity: <data><node>node_h3ebj20208</node><entry><content>content_olfcmw0209</content></entry></data>

2023-10-25 23:29:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 06:29:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-10-25 23:29:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9d55917e-b0c3-4f4c-b3b1-baf0d787d82d</value></item-id></result>

2023-10-25 23:29:30 | contains: true

2023-10-25 23:29:30 | [Mutex] received everything.

2023-10-25 23:29:30 | [Mutex] isItemNotified: user_regular86b46q0207@test-domain.com:message:received:content_olfcmw0209 :: true

2023-10-25 23:29:30 |


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


2023-10-25 23:29:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-10-25 23:29:30 | command: <data><node>node_h3ebj20208</node><expire-at>2023-10-26T06:29:25Z</expire-at><entry><content>content_q7upwh0210</content></entry></data>

2023-10-25 23:29:30 | target: http://localhost:8088

2023-10-25 23:29:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-10-25 23:29:30 | entity: <data><node>node_h3ebj20208</node><expire-at>2023-10-26T06:29:25Z</expire-at><entry><content>content_q7upwh0210</content></entry></data>

2023-10-25 23:29:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 06:29:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-10-25 23:29:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5aa089e5-b009-42e1-9e45-cd3a553af948</value></item-id></result>

2023-10-25 23:29:30 | contains: true

2023-10-25 23:29:30 | [Mutex] waiting for: [user_regular86b46q0207@test-domain.com:message:received:content_q7upwh0210]

2023-10-25 23:29:45 | [Mutex] timeout. Not received [user_regular86b46q0207@test-domain.com:message:received:content_q7upwh0210]

2023-10-25 23:29:45 | [Mutex] isItemNotified: user_regular86b46q0207@test-domain.com:message:received:content_q7upwh0210 :: false

2023-10-25 23:29:45 |


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


2023-10-25 23:29:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-10-25 23:29:45 | command: <data><node>node_h3ebj20208</node><entry><content>content_3wn8d40211</content></entry></data>

2023-10-25 23:29:45 | target: http://localhost:8088

2023-10-25 23:29:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-10-25 23:29:45 | entity: <data><node>node_h3ebj20208</node><entry><content>content_3wn8d40211</content></entry></data>

2023-10-25 23:29:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 06:29:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-10-25 23:29:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e94dc886-008c-4fcd-acbb-506ff371c51f</value></item-id></result>

2023-10-25 23:29:45 | contains: true

2023-10-25 23:29:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-10-25 23:29:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-10-25 23:29:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-10-25 23:29:50 | [Mutex] waiting for: [user_regular86b46q0207@test-domain.com:message:received:content_3wn8d40211]

2023-10-25 23:29:50 | [Mutex] waiting for: [user_regular86b46q0207@test-domain.com:message:received:content_3wn8d40211]

2023-10-25 23:29:50 | [Mutex] received everything.

2023-10-25 23:29:50 | [Mutex] isItemNotified: user_regular86b46q0207@test-domain.com:message:received:content_3wn8d40211 :: true

2023-10-25 23:29:50 |


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


2023-10-25 23:29:50 | [Mutex] received everything.

2023-10-25 23:29:50 | [Mutex] isItemNotified: node_h3ebj20208:subscribe_node:success :: true

2023-10-25 23:29:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-10-25 23:29:51 | command: <data><node>node_h3ebj20208</node><expire-at>2023-10-26T06:29:56Z</expire-at><entry><content>content_ryh5eh0212</content></entry></data>

2023-10-25 23:29:51 | target: http://localhost:8088

2023-10-25 23:29:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-10-25 23:29:51 | entity: <data><node>node_h3ebj20208</node><expire-at>2023-10-26T06:29:56Z</expire-at><entry><content>content_ryh5eh0212</content></entry></data>

2023-10-25 23:29:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 06:29:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-10-25 23:29:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3d50ca27-f403-45a5-beb5-0253c13b68e9</value></item-id></result>

2023-10-25 23:29:51 | contains: true

2023-10-25 23:29:59 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-10-25 23:29:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-10-25 23:29:59 | [Mutex] waiting for: [user_regular86b46q0207@test-domain.com:message:received:content_ryh5eh0212]

2023-10-25 23:29:59 | [Mutex] waiting for: [user_regular86b46q0207@test-domain.com:message:received:content_ryh5eh0212]

2023-10-25 23:30:14 | [Mutex] timeout. Not received [user_regular86b46q0207@test-domain.com:message:received:content_ryh5eh0212]

2023-10-25 23:30:14 | [Mutex] received everything.

2023-10-25 23:30:14 | [Mutex] isItemNotified: user_regular86b46q0207@test-domain.com:message:received:content_ryh5eh0212 :: false

2023-10-25 23:30:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ryh5eh0212 :: true