Generated by TestNG with ReportNG at 23:02 PDT on Thursday 14 April 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.042s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.602s
2022-04-14 23:16:52 |

2022-04-14 23:16:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-04-14 23:16:52 | ------------------------------------

2022-04-14 23:16:52 | [Mutex] isItemNotified: node_atgv720203:exists :: false

2022-04-14 23:16:52 | [Mutex] waiting for: [node_atgv720203:create_node]

2022-04-14 23:16:52 | [Mutex] waiting for: [node_atgv720203:create_node]

2022-04-14 23:16:52 | [Mutex] received everything.

2022-04-14 23:16:52 | [Mutex] isItemNotified: node_atgv720203:create_node:success :: true

2022-04-14 23:16:52 | [Mutex] waiting for: [node_atgv720203:subscribe_node]

2022-04-14 23:16:52 | [Mutex] waiting for: [node_atgv720203:subscribe_node]

2022-04-14 23:16:52 | [Mutex] received everything.

2022-04-14 23:16:52 | [Mutex] isItemNotified: node_atgv720203:subscribe_node:success :: true

2022-04-14 23:16:52 |


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


2022-04-14 23:16:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-14 23:16:52 | command: <data><node>node_atgv720203</node><entry><content>content_qqvgby0204</content></entry></data>

2022-04-14 23:16:52 | target: http://localhost:8088

2022-04-14 23:16:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-04-14 23:16:52 | entity: <data><node>node_atgv720203</node><entry><content>content_qqvgby0204</content></entry></data>

2022-04-14 23:16:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Apr 2022 06:16:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-14 23:16:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>254d3534-62fe-4abf-b4f8-801f95cc18d5</value></item-id></result>

2022-04-14 23:16:52 | contains: true

2022-04-14 23:16:52 | [Mutex] received everything.

2022-04-14 23:16:52 | [Mutex] isItemNotified: user_regularwzbdrh0202@test-domain.com:message:received:content_qqvgby0204 :: true

2022-04-14 23:16:52 |


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


2022-04-14 23:16:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-14 23:16:52 | command: <data><node>node_atgv720203</node><expire-at>2022-04-15T06:16:47Z</expire-at><entry><content>content_smfs5f0205</content></entry></data>

2022-04-14 23:16:52 | target: http://localhost:8088

2022-04-14 23:16:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-04-14 23:16:52 | entity: <data><node>node_atgv720203</node><expire-at>2022-04-15T06:16:47Z</expire-at><entry><content>content_smfs5f0205</content></entry></data>

2022-04-14 23:16:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Apr 2022 06:16:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-14 23:16:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d3cdb14b-455c-4d57-84d9-9abe85ad44ee</value></item-id></result>

2022-04-14 23:16:52 | contains: true

2022-04-14 23:16:52 | [Mutex] waiting for: [user_regularwzbdrh0202@test-domain.com:message:received:content_smfs5f0205]

2022-04-14 23:17:07 | [Mutex] timeout. Not received [user_regularwzbdrh0202@test-domain.com:message:received:content_smfs5f0205]

2022-04-14 23:17:07 | [Mutex] isItemNotified: user_regularwzbdrh0202@test-domain.com:message:received:content_smfs5f0205 :: false

2022-04-14 23:17:07 |


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


2022-04-14 23:17:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-14 23:17:07 | command: <data><node>node_atgv720203</node><entry><content>content_we74dl0206</content></entry></data>

2022-04-14 23:17:07 | target: http://localhost:8088

2022-04-14 23:17:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-04-14 23:17:07 | entity: <data><node>node_atgv720203</node><entry><content>content_we74dl0206</content></entry></data>

2022-04-14 23:17:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Apr 2022 06:17:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-14 23:17:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7cd26ce9-f080-4909-950c-d82620c33364</value></item-id></result>

2022-04-14 23:17:07 | contains: true

2022-04-14 23:17:12 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-04-14 23:17:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] DNS entry stored in session object: localhost:5222

2022-04-14 23:17:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-04-14 23:17:12 | [Mutex] waiting for: [user_regularwzbdrh0202@test-domain.com:message:received:content_we74dl0206]

2022-04-14 23:17:12 | [Mutex] waiting for: [user_regularwzbdrh0202@test-domain.com:message:received:content_we74dl0206]

2022-04-14 23:17:12 | [Mutex] received everything.

2022-04-14 23:17:12 | [Mutex] isItemNotified: user_regularwzbdrh0202@test-domain.com:message:received:content_we74dl0206 :: true

2022-04-14 23:17:12 |


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


2022-04-14 23:17:12 | [Mutex] received everything.

2022-04-14 23:17:12 | [Mutex] isItemNotified: node_atgv720203:subscribe_node:success :: true

2022-04-14 23:17:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-14 23:17:12 | command: <data><node>node_atgv720203</node><expire-at>2022-04-15T06:17:17Z</expire-at><entry><content>content_9ockhk0207</content></entry></data>

2022-04-14 23:17:12 | target: http://localhost:8088

2022-04-14 23:17:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-04-14 23:17:12 | entity: <data><node>node_atgv720203</node><expire-at>2022-04-15T06:17:17Z</expire-at><entry><content>content_9ockhk0207</content></entry></data>

2022-04-14 23:17:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Apr 2022 06:17:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-14 23:17:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>103631c5-bd6b-4563-901c-ec71542525fa</value></item-id></result>

2022-04-14 23:17:12 | contains: true

2022-04-14 23:17:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-04-14 23:17:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=477 thread=1] DNS entry stored in session object: localhost:5222

2022-04-14 23:17:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=477 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-04-14 23:17:20 | [Mutex] waiting for: [user_regularwzbdrh0202@test-domain.com:message:received:content_9ockhk0207]

2022-04-14 23:17:35 | [Mutex] timeout. Not received [user_regularwzbdrh0202@test-domain.com:message:received:content_9ockhk0207]

2022-04-14 23:17:35 | [Mutex] received everything.

2022-04-14 23:17:35 | [Mutex] isItemNotified: user_regularwzbdrh0202@test-domain.com:message:received:content_9ockhk0207 :: false

2022-04-14 23:17:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9ockhk0207 :: true