Generated by TestNG with ReportNG at 09:23 PST on Monday 06 March 2023
root@f9c07ffec79b / 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.760s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.626s
2023-03-06 09:37:56 |

2023-03-06 09:37:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-06 09:37:56 | ------------------------------------

2023-03-06 09:37:56 | [Mutex] isItemNotified: node_n9naoy0208:exists :: false

2023-03-06 09:37:56 | [Mutex] waiting for: [node_n9naoy0208:create_node]

2023-03-06 09:37:56 | [Mutex] received everything.

2023-03-06 09:37:56 | [Mutex] isItemNotified: node_n9naoy0208:create_node:success :: true

2023-03-06 09:37:56 | [Mutex] waiting for: [node_n9naoy0208:subscribe_node]

2023-03-06 09:37:56 | [Mutex] waiting for: [node_n9naoy0208:subscribe_node]

2023-03-06 09:37:56 | [Mutex] received everything.

2023-03-06 09:37:56 | [Mutex] isItemNotified: node_n9naoy0208:subscribe_node:success :: true

2023-03-06 09:37:56 |


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


2023-03-06 09:37:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-06 09:37:56 | command: <data><node>node_n9naoy0208</node><entry><content>content_gb339o0209</content></entry></data>

2023-03-06 09:37:56 | target: http://localhost:8088

2023-03-06 09:37:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-06 09:37:56 | entity: <data><node>node_n9naoy0208</node><entry><content>content_gb339o0209</content></entry></data>

2023-03-06 09:37:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 17:37:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 09:37:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2a48ed66-9646-413a-b900-4a3aba06285d</value></item-id></result>

2023-03-06 09:37:56 | contains: true

2023-03-06 09:37:56 | [Mutex] waiting for: [user_regularszm3mz0207@test-domain.com:message:received:content_gb339o0209]

2023-03-06 09:37:56 | [Mutex] received everything.

2023-03-06 09:37:56 | [Mutex] isItemNotified: user_regularszm3mz0207@test-domain.com:message:received:content_gb339o0209 :: true

2023-03-06 09:37:56 |


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


2023-03-06 09:37:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-06 09:37:56 | command: <data><node>node_n9naoy0208</node><expire-at>2023-03-06T17:37:51Z</expire-at><entry><content>content_v0ooo20210</content></entry></data>

2023-03-06 09:37:56 | target: http://localhost:8088

2023-03-06 09:37:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-06 09:37:56 | entity: <data><node>node_n9naoy0208</node><expire-at>2023-03-06T17:37:51Z</expire-at><entry><content>content_v0ooo20210</content></entry></data>

2023-03-06 09:37:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 17:37:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 09:37:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f6c34f16-63d7-4fb2-bd2a-d48de1a6dbb3</value></item-id></result>

2023-03-06 09:37:56 | contains: true

2023-03-06 09:37:56 | [Mutex] waiting for: [user_regularszm3mz0207@test-domain.com:message:received:content_v0ooo20210]

2023-03-06 09:38:11 | [Mutex] timeout. Not received [user_regularszm3mz0207@test-domain.com:message:received:content_v0ooo20210]

2023-03-06 09:38:11 | [Mutex] isItemNotified: user_regularszm3mz0207@test-domain.com:message:received:content_v0ooo20210 :: false

2023-03-06 09:38:11 |


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


2023-03-06 09:38:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-06 09:38:11 | command: <data><node>node_n9naoy0208</node><entry><content>content_bbw61n0211</content></entry></data>

2023-03-06 09:38:11 | target: http://localhost:8088

2023-03-06 09:38:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-06 09:38:11 | entity: <data><node>node_n9naoy0208</node><entry><content>content_bbw61n0211</content></entry></data>

2023-03-06 09:38:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 17:38:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 09:38:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b694a583-69c3-4f0e-805d-f5c3aa56c014</value></item-id></result>

2023-03-06 09:38:11 | contains: true

2023-03-06 09:38:16 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-06 09:38:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-03-06 09:38:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-06 09:38:16 | [Mutex] waiting for: [user_regularszm3mz0207@test-domain.com:message:received:content_bbw61n0211]

2023-03-06 09:38:16 | [Mutex] waiting for: [user_regularszm3mz0207@test-domain.com:message:received:content_bbw61n0211]

2023-03-06 09:38:16 | [Mutex] received everything.

2023-03-06 09:38:16 | [Mutex] isItemNotified: user_regularszm3mz0207@test-domain.com:message:received:content_bbw61n0211 :: true

2023-03-06 09:38:16 |


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


2023-03-06 09:38:16 | [Mutex] received everything.

2023-03-06 09:38:16 | [Mutex] isItemNotified: node_n9naoy0208:subscribe_node:success :: true

2023-03-06 09:38:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-06 09:38:16 | command: <data><node>node_n9naoy0208</node><expire-at>2023-03-06T17:38:21Z</expire-at><entry><content>content_4oqsbf0212</content></entry></data>

2023-03-06 09:38:16 | target: http://localhost:8088

2023-03-06 09:38:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-06 09:38:16 | entity: <data><node>node_n9naoy0208</node><expire-at>2023-03-06T17:38:21Z</expire-at><entry><content>content_4oqsbf0212</content></entry></data>

2023-03-06 09:38:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 17:38:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 09:38:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>983fefc3-0a65-44c8-b890-83e3f9e04d8b</value></item-id></result>

2023-03-06 09:38:16 | contains: true

2023-03-06 09:38:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-06 09:38:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-03-06 09:38:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-06 09:38:24 | [Mutex] waiting for: [user_regularszm3mz0207@test-domain.com:message:received:content_4oqsbf0212]

2023-03-06 09:38:39 | [Mutex] timeout. Not received [user_regularszm3mz0207@test-domain.com:message:received:content_4oqsbf0212]

2023-03-06 09:38:39 | [Mutex] received everything.

2023-03-06 09:38:39 | [Mutex] isItemNotified: user_regularszm3mz0207@test-domain.com:message:received:content_4oqsbf0212 :: false

2023-03-06 09:38:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4oqsbf0212 :: true