Generated by TestNG with ReportNG at 22:48 PDT on Sunday 18 September 2022
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.829s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.613s
2022-09-18 23:03:25 |

2022-09-18 23:03:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-09-18 23:03:25 | ------------------------------------

2022-09-18 23:03:25 | [Mutex] isItemNotified: node_dzy8ow0204:exists :: false

2022-09-18 23:03:25 | [Mutex] waiting for: [node_dzy8ow0204:create_node]

2022-09-18 23:03:25 | [Mutex] received everything.

2022-09-18 23:03:25 | [Mutex] isItemNotified: node_dzy8ow0204:create_node:success :: true

2022-09-18 23:03:25 | [Mutex] waiting for: [node_dzy8ow0204:subscribe_node]

2022-09-18 23:03:25 | [Mutex] waiting for: [node_dzy8ow0204:subscribe_node]

2022-09-18 23:03:25 | [Mutex] received everything.

2022-09-18 23:03:25 | [Mutex] isItemNotified: node_dzy8ow0204:subscribe_node:success :: true

2022-09-18 23:03:25 |


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


2022-09-18 23:03:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-18 23:03:25 | command: <data><node>node_dzy8ow0204</node><entry><content>content_hh6b5v0205</content></entry></data>

2022-09-18 23:03:25 | target: http://localhost:8088

2022-09-18 23:03:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-18 23:03:25 | entity: <data><node>node_dzy8ow0204</node><entry><content>content_hh6b5v0205</content></entry></data>

2022-09-18 23:03:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Sep 2022 06:03:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-18 23:03:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4c1b67ec-0252-46aa-9898-06e39cb86bdd</value></item-id></result>

2022-09-18 23:03:25 | contains: true

2022-09-18 23:03:25 | [Mutex] waiting for: [user_regularvwsguj0203@test-domain.com:message:received:content_hh6b5v0205]

2022-09-18 23:03:25 | [Mutex] received everything.

2022-09-18 23:03:25 | [Mutex] isItemNotified: user_regularvwsguj0203@test-domain.com:message:received:content_hh6b5v0205 :: true

2022-09-18 23:03:25 |


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


2022-09-18 23:03:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-18 23:03:25 | command: <data><node>node_dzy8ow0204</node><expire-at>2022-09-19T06:03:20Z</expire-at><entry><content>content_1y07tt0206</content></entry></data>

2022-09-18 23:03:25 | target: http://localhost:8088

2022-09-18 23:03:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-18 23:03:25 | entity: <data><node>node_dzy8ow0204</node><expire-at>2022-09-19T06:03:20Z</expire-at><entry><content>content_1y07tt0206</content></entry></data>

2022-09-18 23:03:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Sep 2022 06:03:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-18 23:03:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9dfd3834-0829-484f-af58-7e1b0acb7d0b</value></item-id></result>

2022-09-18 23:03:25 | contains: true

2022-09-18 23:03:25 | [Mutex] waiting for: [user_regularvwsguj0203@test-domain.com:message:received:content_1y07tt0206]

2022-09-18 23:03:40 | [Mutex] timeout. Not received [user_regularvwsguj0203@test-domain.com:message:received:content_1y07tt0206]

2022-09-18 23:03:40 | [Mutex] isItemNotified: user_regularvwsguj0203@test-domain.com:message:received:content_1y07tt0206 :: false

2022-09-18 23:03:40 |


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


2022-09-18 23:03:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-18 23:03:40 | command: <data><node>node_dzy8ow0204</node><entry><content>content_q2kmx60207</content></entry></data>

2022-09-18 23:03:40 | target: http://localhost:8088

2022-09-18 23:03:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-18 23:03:40 | entity: <data><node>node_dzy8ow0204</node><entry><content>content_q2kmx60207</content></entry></data>

2022-09-18 23:03:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Sep 2022 06:03:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-18 23:03:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9056455c-d75e-4b2c-af20-c0835a0cef7f</value></item-id></result>

2022-09-18 23:03:40 | contains: true

2022-09-18 23:03:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-09-18 23:03:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-09-18 23:03:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-09-18 23:03:45 | [Mutex] waiting for: [user_regularvwsguj0203@test-domain.com:message:received:content_q2kmx60207]

2022-09-18 23:03:45 | [Mutex] waiting for: [user_regularvwsguj0203@test-domain.com:message:received:content_q2kmx60207]

2022-09-18 23:03:45 | [Mutex] received everything.

2022-09-18 23:03:45 | [Mutex] isItemNotified: user_regularvwsguj0203@test-domain.com:message:received:content_q2kmx60207 :: true

2022-09-18 23:03:45 |


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


2022-09-18 23:03:45 | [Mutex] received everything.

2022-09-18 23:03:45 | [Mutex] isItemNotified: node_dzy8ow0204:subscribe_node:success :: true

2022-09-18 23:03:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-18 23:03:45 | command: <data><node>node_dzy8ow0204</node><expire-at>2022-09-19T06:03:50Z</expire-at><entry><content>content_4ej6ma0208</content></entry></data>

2022-09-18 23:03:45 | target: http://localhost:8088

2022-09-18 23:03:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-18 23:03:45 | entity: <data><node>node_dzy8ow0204</node><expire-at>2022-09-19T06:03:50Z</expire-at><entry><content>content_4ej6ma0208</content></entry></data>

2022-09-18 23:03:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Sep 2022 06:03:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-18 23:03:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0e467dfe-96f6-46d6-83c6-89b6ac8dac08</value></item-id></result>

2022-09-18 23:03:45 | contains: true

2022-09-18 23:03:53 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-09-18 23:03:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-09-18 23:03:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-09-18 23:03:53 | [Mutex] waiting for: [user_regularvwsguj0203@test-domain.com:message:received:content_4ej6ma0208]

2022-09-18 23:04:08 | [Mutex] timeout. Not received [user_regularvwsguj0203@test-domain.com:message:received:content_4ej6ma0208]

2022-09-18 23:04:08 | [Mutex] received everything.

2022-09-18 23:04:08 | [Mutex] isItemNotified: user_regularvwsguj0203@test-domain.com:message:received:content_4ej6ma0208 :: false

2022-09-18 23:04:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4ej6ma0208 :: true