Generated by TestNG with ReportNG at 22:15 PDT on Wednesday 29 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.727s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.613s
2023-03-29 22:30:13 |

2023-03-29 22:30:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-29 22:30:13 | ------------------------------------

2023-03-29 22:30:13 | [Mutex] isItemNotified: node_7fkn0x0208:exists :: false

2023-03-29 22:30:13 | [Mutex] waiting for: [node_7fkn0x0208:create_node]

2023-03-29 22:30:13 | [Mutex] waiting for: [node_7fkn0x0208:create_node]

2023-03-29 22:30:13 | [Mutex] received everything.

2023-03-29 22:30:13 | [Mutex] isItemNotified: node_7fkn0x0208:create_node:success :: true

2023-03-29 22:30:13 | [Mutex] waiting for: [node_7fkn0x0208:subscribe_node]

2023-03-29 22:30:13 | [Mutex] waiting for: [node_7fkn0x0208:subscribe_node]

2023-03-29 22:30:13 | [Mutex] received everything.

2023-03-29 22:30:13 | [Mutex] isItemNotified: node_7fkn0x0208:subscribe_node:success :: true

2023-03-29 22:30:13 |


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


2023-03-29 22:30:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-29 22:30:13 | command: <data><node>node_7fkn0x0208</node><entry><content>content_y58gsq0209</content></entry></data>

2023-03-29 22:30:13 | target: http://localhost:8088

2023-03-29 22:30:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-29 22:30:13 | entity: <data><node>node_7fkn0x0208</node><entry><content>content_y58gsq0209</content></entry></data>

2023-03-29 22:30:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 05:30:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-29 22:30:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>87bd717d-8037-4890-bf83-1e80c34cf652</value></item-id></result>

2023-03-29 22:30:13 | contains: true

2023-03-29 22:30:13 | [Mutex] received everything.

2023-03-29 22:30:13 | [Mutex] isItemNotified: user_regularqadfvk0207@test-domain.com:message:received:content_y58gsq0209 :: true

2023-03-29 22:30:13 |


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


2023-03-29 22:30:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-29 22:30:13 | command: <data><node>node_7fkn0x0208</node><expire-at>2023-03-30T05:30:08Z</expire-at><entry><content>content_jlhesm0210</content></entry></data>

2023-03-29 22:30:13 | target: http://localhost:8088

2023-03-29 22:30:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-29 22:30:13 | entity: <data><node>node_7fkn0x0208</node><expire-at>2023-03-30T05:30:08Z</expire-at><entry><content>content_jlhesm0210</content></entry></data>

2023-03-29 22:30:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 05:30:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-29 22:30:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3465ce71-fe87-455e-ac5e-03fce97240e4</value></item-id></result>

2023-03-29 22:30:13 | contains: true

2023-03-29 22:30:13 | [Mutex] waiting for: [user_regularqadfvk0207@test-domain.com:message:received:content_jlhesm0210]

2023-03-29 22:30:28 | [Mutex] timeout. Not received [user_regularqadfvk0207@test-domain.com:message:received:content_jlhesm0210]

2023-03-29 22:30:28 | [Mutex] isItemNotified: user_regularqadfvk0207@test-domain.com:message:received:content_jlhesm0210 :: false

2023-03-29 22:30:28 |


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


2023-03-29 22:30:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-29 22:30:28 | command: <data><node>node_7fkn0x0208</node><entry><content>content_7lhtrm0211</content></entry></data>

2023-03-29 22:30:28 | target: http://localhost:8088

2023-03-29 22:30:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-29 22:30:28 | entity: <data><node>node_7fkn0x0208</node><entry><content>content_7lhtrm0211</content></entry></data>

2023-03-29 22:30:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 05:30:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-29 22:30:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>266ff01d-c15b-41ca-a8ab-909a65dc0029</value></item-id></result>

2023-03-29 22:30:28 | contains: true

2023-03-29 22:30:33 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-29 22:30:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-03-29 22:30:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-29 22:30:33 | [Mutex] waiting for: [user_regularqadfvk0207@test-domain.com:message:received:content_7lhtrm0211]

2023-03-29 22:30:33 | [Mutex] received everything.

2023-03-29 22:30:33 | [Mutex] isItemNotified: user_regularqadfvk0207@test-domain.com:message:received:content_7lhtrm0211 :: true

2023-03-29 22:30:33 |


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


2023-03-29 22:30:33 | [Mutex] received everything.

2023-03-29 22:30:33 | [Mutex] isItemNotified: node_7fkn0x0208:subscribe_node:success :: true

2023-03-29 22:30:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-29 22:30:33 | command: <data><node>node_7fkn0x0208</node><expire-at>2023-03-30T05:30:38Z</expire-at><entry><content>content_wr7iuf0212</content></entry></data>

2023-03-29 22:30:33 | target: http://localhost:8088

2023-03-29 22:30:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-29 22:30:33 | entity: <data><node>node_7fkn0x0208</node><expire-at>2023-03-30T05:30:38Z</expire-at><entry><content>content_wr7iuf0212</content></entry></data>

2023-03-29 22:30:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 05:30:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-29 22:30:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>38dbf92a-4970-4b67-9243-28f6b7d33ff2</value></item-id></result>

2023-03-29 22:30:33 | contains: true

2023-03-29 22:30:41 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-03-29 22:30:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-29 22:30:42 | [Mutex] waiting for: [user_regularqadfvk0207@test-domain.com:message:received:content_wr7iuf0212]

2023-03-29 22:30:42 | [Mutex] waiting for: [user_regularqadfvk0207@test-domain.com:message:received:content_wr7iuf0212]

2023-03-29 22:30:57 | [Mutex] timeout. Not received [user_regularqadfvk0207@test-domain.com:message:received:content_wr7iuf0212]

2023-03-29 22:30:57 | [Mutex] received everything.

2023-03-29 22:30:57 | [Mutex] isItemNotified: user_regularqadfvk0207@test-domain.com:message:received:content_wr7iuf0212 :: false

2023-03-29 22:30:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wr7iuf0212 :: true