Generated by TestNG with ReportNG at 22:45 PDT on Tuesday 04 July 2023
root@1512af24e4a5 / Java 17.0.6 (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.704s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.628s
2023-07-04 23:00:34 |

2023-07-04 23:00:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-07-04 23:00:34 | ------------------------------------

2023-07-04 23:00:34 | [Mutex] isItemNotified: node_n4y7jg0208:exists :: false

2023-07-04 23:00:34 | [Mutex] waiting for: [node_n4y7jg0208:create_node]

2023-07-04 23:00:34 | [Mutex] received everything.

2023-07-04 23:00:34 | [Mutex] isItemNotified: node_n4y7jg0208:create_node:success :: true

2023-07-04 23:00:34 | [Mutex] waiting for: [node_n4y7jg0208:subscribe_node]

2023-07-04 23:00:34 | [Mutex] waiting for: [node_n4y7jg0208:subscribe_node]

2023-07-04 23:00:34 | [Mutex] received everything.

2023-07-04 23:00:34 | [Mutex] isItemNotified: node_n4y7jg0208:subscribe_node:success :: true

2023-07-04 23:00:34 |


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


2023-07-04 23:00:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-04 23:00:34 | command: <data><node>node_n4y7jg0208</node><entry><content>content_6dm22u0209</content></entry></data>

2023-07-04 23:00:34 | target: http://localhost:8088

2023-07-04 23:00:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-04 23:00:34 | entity: <data><node>node_n4y7jg0208</node><entry><content>content_6dm22u0209</content></entry></data>

2023-07-04 23:00:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 05 Jul 2023 06:00:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-04 23:00:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8861ea42-349d-429f-85cf-0e31b30dfc24</value></item-id></result>

2023-07-04 23:00:34 | contains: true

2023-07-04 23:00:34 | [Mutex] received everything.

2023-07-04 23:00:34 | [Mutex] isItemNotified: user_regularmc1hc60207@test-domain.com:message:received:content_6dm22u0209 :: true

2023-07-04 23:00:34 |


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


2023-07-04 23:00:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-04 23:00:34 | command: <data><node>node_n4y7jg0208</node><expire-at>2023-07-05T06:00:29Z</expire-at><entry><content>content_5mlfc10210</content></entry></data>

2023-07-04 23:00:34 | target: http://localhost:8088

2023-07-04 23:00:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-04 23:00:34 | entity: <data><node>node_n4y7jg0208</node><expire-at>2023-07-05T06:00:29Z</expire-at><entry><content>content_5mlfc10210</content></entry></data>

2023-07-04 23:00:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 05 Jul 2023 06:00:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-04 23:00:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>45fb9f53-5550-4a82-a274-270b9ba67104</value></item-id></result>

2023-07-04 23:00:34 | contains: true

2023-07-04 23:00:34 | [Mutex] waiting for: [user_regularmc1hc60207@test-domain.com:message:received:content_5mlfc10210]

2023-07-04 23:00:49 | [Mutex] timeout. Not received [user_regularmc1hc60207@test-domain.com:message:received:content_5mlfc10210]

2023-07-04 23:00:49 | [Mutex] isItemNotified: user_regularmc1hc60207@test-domain.com:message:received:content_5mlfc10210 :: false

2023-07-04 23:00:49 |


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


2023-07-04 23:00:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-04 23:00:49 | command: <data><node>node_n4y7jg0208</node><entry><content>content_njprsl0211</content></entry></data>

2023-07-04 23:00:49 | target: http://localhost:8088

2023-07-04 23:00:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-04 23:00:49 | entity: <data><node>node_n4y7jg0208</node><entry><content>content_njprsl0211</content></entry></data>

2023-07-04 23:00:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 05 Jul 2023 06:00:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-04 23:00:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>85389b88-76e1-4aac-8f30-b160cb3a594f</value></item-id></result>

2023-07-04 23:00:49 | contains: true

2023-07-04 23:00:54 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-04 23:00:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-07-04 23:00:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-04 23:00:54 | [Mutex] received everything.

2023-07-04 23:00:54 | [Mutex] isItemNotified: user_regularmc1hc60207@test-domain.com:message:received:content_njprsl0211 :: true

2023-07-04 23:00:54 |


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


2023-07-04 23:00:54 | [Mutex] received everything.

2023-07-04 23:00:54 | [Mutex] isItemNotified: node_n4y7jg0208:subscribe_node:success :: true

2023-07-04 23:00:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-04 23:00:54 | command: <data><node>node_n4y7jg0208</node><expire-at>2023-07-05T06:00:59Z</expire-at><entry><content>content_jzh7ty0212</content></entry></data>

2023-07-04 23:00:54 | target: http://localhost:8088

2023-07-04 23:00:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-04 23:00:54 | entity: <data><node>node_n4y7jg0208</node><expire-at>2023-07-05T06:00:59Z</expire-at><entry><content>content_jzh7ty0212</content></entry></data>

2023-07-04 23:00:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 05 Jul 2023 06:00:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-04 23:00:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3fff01eb-25cc-4d94-9713-e424a73671bf</value></item-id></result>

2023-07-04 23:00:54 | contains: true

2023-07-04 23:01:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-07-04 23:01:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-04 23:01:02 | [Mutex] waiting for: [user_regularmc1hc60207@test-domain.com:message:received:content_jzh7ty0212]

2023-07-04 23:01:17 | [Mutex] timeout. Not received [user_regularmc1hc60207@test-domain.com:message:received:content_jzh7ty0212]

2023-07-04 23:01:17 | [Mutex] received everything.

2023-07-04 23:01:17 | [Mutex] isItemNotified: user_regularmc1hc60207@test-domain.com:message:received:content_jzh7ty0212 :: false

2023-07-04 23:01:17 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jzh7ty0212 :: true