Generated by TestNG with ReportNG at 22:16 PDT on Sunday 06 August 2023
root@4fbf295f62bd / 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.847s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.650s
2023-08-06 22:31:30 |

2023-08-06 22:31:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-08-06 22:31:30 | ------------------------------------

2023-08-06 22:31:30 | [Mutex] isItemNotified: node_nomco00208:exists :: false

2023-08-06 22:31:30 | [Mutex] waiting for: [node_nomco00208:create_node]

2023-08-06 22:31:30 | [Mutex] received everything.

2023-08-06 22:31:30 | [Mutex] isItemNotified: node_nomco00208:create_node:success :: true

2023-08-06 22:31:30 | [Mutex] waiting for: [node_nomco00208:subscribe_node]

2023-08-06 22:31:30 | [Mutex] waiting for: [node_nomco00208:subscribe_node]

2023-08-06 22:31:30 | [Mutex] received everything.

2023-08-06 22:31:30 | [Mutex] isItemNotified: node_nomco00208:subscribe_node:success :: true

2023-08-06 22:31:30 |


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


2023-08-06 22:31:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-06 22:31:30 | command: <data><node>node_nomco00208</node><entry><content>content_krml2u0209</content></entry></data>

2023-08-06 22:31:30 | target: http://localhost:8088

2023-08-06 22:31:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-08-06 22:31:30 | entity: <data><node>node_nomco00208</node><entry><content>content_krml2u0209</content></entry></data>

2023-08-06 22:31:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Aug 2023 05:31:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-06 22:31:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>faae881d-4142-4c1b-aff2-d24c17c120de</value></item-id></result>

2023-08-06 22:31:30 | contains: true

2023-08-06 22:31:30 | [Mutex] received everything.

2023-08-06 22:31:30 | [Mutex] isItemNotified: user_regularh7odwk0207@test-domain.com:message:received:content_krml2u0209 :: true

2023-08-06 22:31:30 |


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


2023-08-06 22:31:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-06 22:31:30 | command: <data><node>node_nomco00208</node><expire-at>2023-08-07T05:31:25Z</expire-at><entry><content>content_9h77cr0210</content></entry></data>

2023-08-06 22:31:30 | target: http://localhost:8088

2023-08-06 22:31:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-08-06 22:31:30 | entity: <data><node>node_nomco00208</node><expire-at>2023-08-07T05:31:25Z</expire-at><entry><content>content_9h77cr0210</content></entry></data>

2023-08-06 22:31:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Aug 2023 05:31:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-06 22:31:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fe4be30c-cd29-4754-bcc3-646379ef3668</value></item-id></result>

2023-08-06 22:31:30 | contains: true

2023-08-06 22:31:30 | [Mutex] waiting for: [user_regularh7odwk0207@test-domain.com:message:received:content_9h77cr0210]

2023-08-06 22:31:45 | [Mutex] timeout. Not received [user_regularh7odwk0207@test-domain.com:message:received:content_9h77cr0210]

2023-08-06 22:31:45 | [Mutex] isItemNotified: user_regularh7odwk0207@test-domain.com:message:received:content_9h77cr0210 :: false

2023-08-06 22:31:45 |


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


2023-08-06 22:31:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-06 22:31:45 | command: <data><node>node_nomco00208</node><entry><content>content_dss5490211</content></entry></data>

2023-08-06 22:31:45 | target: http://localhost:8088

2023-08-06 22:31:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-08-06 22:31:45 | entity: <data><node>node_nomco00208</node><entry><content>content_dss5490211</content></entry></data>

2023-08-06 22:31:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Aug 2023 05:31:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-06 22:31:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>853a3d91-fd35-4515-94bf-359dc05ddb9b</value></item-id></result>

2023-08-06 22:31:45 | contains: true

2023-08-06 22:31:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-08-06 22:31:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-08-06 22:31:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-08-06 22:31:50 | [Mutex] waiting for: [user_regularh7odwk0207@test-domain.com:message:received:content_dss5490211]

2023-08-06 22:31:50 | [Mutex] received everything.

2023-08-06 22:31:50 | [Mutex] isItemNotified: user_regularh7odwk0207@test-domain.com:message:received:content_dss5490211 :: true

2023-08-06 22:31:50 |


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


2023-08-06 22:31:50 | [Mutex] received everything.

2023-08-06 22:31:50 | [Mutex] isItemNotified: node_nomco00208:subscribe_node:success :: true

2023-08-06 22:31:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-06 22:31:50 | command: <data><node>node_nomco00208</node><expire-at>2023-08-07T05:31:55Z</expire-at><entry><content>content_uaz0bx0212</content></entry></data>

2023-08-06 22:31:50 | target: http://localhost:8088

2023-08-06 22:31:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-08-06 22:31:50 | entity: <data><node>node_nomco00208</node><expire-at>2023-08-07T05:31:55Z</expire-at><entry><content>content_uaz0bx0212</content></entry></data>

2023-08-06 22:31:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Aug 2023 05:31:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-06 22:31:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>14498753-e702-4380-ab55-c1b963cd78db</value></item-id></result>

2023-08-06 22:31:50 | contains: true

2023-08-06 22:31:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-08-06 22:31:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-08-06 22:31:59 | [Mutex] waiting for: [user_regularh7odwk0207@test-domain.com:message:received:content_uaz0bx0212]

2023-08-06 22:31:59 | [Mutex] waiting for: [user_regularh7odwk0207@test-domain.com:message:received:content_uaz0bx0212]

2023-08-06 22:31:59 | [Mutex] waiting for: [user_regularh7odwk0207@test-domain.com:message:received:content_uaz0bx0212]

2023-08-06 22:32:14 | [Mutex] timeout. Not received [user_regularh7odwk0207@test-domain.com:message:received:content_uaz0bx0212]

2023-08-06 22:32:14 | [Mutex] received everything.

2023-08-06 22:32:14 | [Mutex] isItemNotified: user_regularh7odwk0207@test-domain.com:message:received:content_uaz0bx0212 :: false

2023-08-06 22:32:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_uaz0bx0212 :: true