","body@stringLength":"2711","rawBody":"
Hi,
It looks like you are mixing approaches. You implicitly mention two in your question...
- Custom Property
- Pulling the value from the previous step itself.
Both are valid approaches.
If you want to use the custom properties, then you need to be sure where you have written to. Then you need to be sure you are referencing the right place. Have a look at this really excellent article from
Personally, and just my preference, I tend not to use custom properties. I prefer 'pulling' the value of interest from a previous step into the current step. This can be done in a similar to what you're trying, but maybe not exactly. If you just wanted the 12345 value, then yep. But it looks like you want the value concatenated with a word. In these cases, I would add a Groovy script step in between the step returning 12345 and the step you want to pull it into.
This Groovy step would be used as a stringbuilder for the 'current' step.
E.g. this Groovy step in-between your two steps. Just for example name the Groovy script step \"getProductParam\"...
Then in the next test step, 'pull' the value into the query params part by typing....
","author":{"__ref":"User:user:91233"},"isEscalated":null,"postTime":"2021-11-02T07:20:18.194-07:00","solution":false,"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"kudosSumWeight":0,"repliesCount":3,"images":{"__typename":"AssociatedImageConnection","edges":[{"__typename":"AssociatedImageEdge","cursor":"MjUuMnwyLjF8b3wyNXxfTlZffDE","node":{"__ref":"AssociatedImage:{\"url\":\"https://community.smartbear.com/t5/s/nwkab66374/images/bS0yMjUxMDEtMTI0MzFpOTlGNUM5RDU0OUQ0NDBBMg?revision=1\"}"}}],"totalCount":1,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"timeToRead":2,"currentRevision":{"__ref":"Revision:revision:225101_1"},"latestVersion":null,"metrics":{"__typename":"MessageMetrics","views":1524},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"messagePolicies":{"__typename":"MessagePolicies","canModerateSpamMessage":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","key":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","args":[]}}}},"Revision:revision:225136_1":{"__typename":"Revision","id":"revision:225136_1","lastEditTime":"2021-11-03T00:02:31.281-07:00"},"QueryVariables:ReplyList:message:225136:1":{"__typename":"QueryVariables","id":"ReplyList:message:225136:1","value":{"id":"message:225136","first":10,"sorts":{"kudosSumWeight":{"direction":"DESC","order":0},"postTime":{"direction":"ASC","order":1}},"repliesFirst":3,"repliesFirstDepthThree":1,"repliesSorts":{"kudosSumWeight":{"direction":"DESC","order":0},"postTime":{"direction":"ASC","order":1}},"useAvatar":true,"useAuthorLogin":true,"useAuthorRank":true,"useBody":true,"useKudosCount":true,"useTimeToRead":false,"useMedia":false,"useReadOnlyIcon":false,"useRepliesCount":true,"useSearchSnippet":false,"useAcceptedSolutionButton":true,"useSolvedBadge":false,"useAttachments":false,"attachmentsFirst":5,"useTags":false,"useNodeAncestors":false,"useUserHoverCard":false,"useNodeHoverCard":false,"useModerationStatus":true,"usePreviewSubjectModal":false,"useMessageStatus":true}},"CachedAsset:text:en_US-shared/client/components/users/UserAvatar-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/users/UserAvatar-1741125846000","value":{"altText":"{login}'s avatar","altTextGeneric":"User's avatar"},"localOverride":false},"CachedAsset:text:en_US-shared/client/components/ranks/UserRankLabel-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-shared/client/components/ranks/UserRankLabel-1741125846000","value":{"altTitle":"Icon for {rankName} rank"},"localOverride":false},"CachedAsset:text:en_US-components/messages/AcceptedSolutionButton-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-components/messages/AcceptedSolutionButton-1741125846000","value":{"accept":"Mark as Solution","accepted":"Marked as Solution","errorHeader":"Error!","errorAdd":"There was an error marking as solution.","errorRemove":"There was an error unmarking as solution.","solved":"Solved","topicAlreadySolvedErrorTitle":"Solution Already Exists","topicAlreadySolvedErrorDesc":"Refresh the browser to view the existing solution"},"localOverride":false},"CachedAsset:text:en_US-components/messages/ThreadedReplyList-1741125846000":{"__typename":"CachedAsset","id":"text:en_US-components/messages/ThreadedReplyList-1741125846000","value":{"title":"{count, plural, one{# Reply} other{# Replies}}","title@board:BLOG":"{count, plural, one{# Comment} other{# Comments}}","title@board:TKB":"{count, plural, one{# Comment} other{# Comments}}","title@board:IDEA":"{count, plural, one{# Comment} other{# Comments}}","title@board:OCCASION":"{count, plural, one{# Comment} other{# Comments}}","noRepliesTitle":"No Replies","noRepliesTitle@board:BLOG":"No Comments","noRepliesTitle@board:TKB":"No Comments","noRepliesTitle@board:IDEA":"No Comments","noRepliesTitle@board:OCCASION":"No Comments","noRepliesDescription":"Be the first to reply","noRepliesDescription@board:BLOG":"Be the first to comment","noRepliesDescription@board:TKB":"Be the first to comment","noRepliesDescription@board:IDEA":"Be the first to comment","noRepliesDescription@board:OCCASION":"Be the first to comment","messageReadOnlyAlert:BLOG":"Comments have been turned off for this post","messageReadOnlyAlert:TKB":"Comments have been turned off for this article","messageReadOnlyAlert:IDEA":"Comments have been turned off for this idea","messageReadOnlyAlert:FORUM":"Replies have been turned off for this discussion","messageReadOnlyAlert:OCCASION":"Comments have been turned off for this event"},"localOverride":false},"Revision:revision:225150_1":{"__typename":"Revision","id":"revision:225150_1","lastEditTime":"2021-11-03T01:52:22.877-07:00"},"AssociatedImage:{\"url\":\"https://community.smartbear.com/t5/s/nwkab66374/images/bS0yMjUxMDEtMTI0MzFpOTlGNUM5RDU0OUQ0NDBBMg?revision=1\"}":{"__typename":"AssociatedImage","url":"https://community.smartbear.com/t5/s/nwkab66374/images/bS0yMjUxMDEtMTI0MzFpOTlGNUM5RDU0OUQ0NDBBMg?revision=1","title":"ChrisAdams_0-1635862793193.png","associationType":"BODY","width":527,"height":118,"altText":null},"Revision:revision:225101_1":{"__typename":"Revision","id":"revision:225101_1","lastEditTime":"2021-11-02T07:20:18.194-07:00"},"ModerationData:moderation_data:232001":{"__typename":"ModerationData","id":"moderation_data:232001","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"ForumReplyMessage:message:232001":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:94795"},"id":"message:232001","revisionNum":1,"uid":232001,"depth":4,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:readyapi-questions"},"parent":{"__ref":"AcceptedSolutionMessage:message:225150"},"conversation":{"__ref":"Conversation:conversation:225094"},"subject":"Re: Passing custom parameter in Key of Query Param's key, value pair","moderationData":{"__ref":"ModerationData:moderation_data:232001"},"body":"
ChrisAdams I was able to resolve the issue with the script provided. Thanks for the help.
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"96","kudosSumWeight":0,"repliesCount":0,"postTime":"2022-03-30T01:42:53.446-07:00","lastPublishTime":"2022-03-30T01:42:53.446-07:00","metrics":{"__typename":"MessageMetrics","views":1243},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:ready_api_forums/community:nwkab66374board:readyapi-questions/message:225094/message:232001","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"readOnly":false,"editFrozen":false,"body@stringLength":"291","rawBody":"