All Questions
1,918
questions
0
votes
1
answer
18
views
Read Response body and assign into one variable in JMeter
I need to read authId value from below response returned by one of the Http Request item in JMeter and assign into in one variable under JSON extractor . "Should I use $.ApiResponse.data.authId&...
2
votes
1
answer
36
views
Jmeter: unable to extract value from nested array
I am trying to automate load testing on Jmeter in order to be able to schedule them and let them run at specific times. I have no powers over the queues nor our rabbit scenery in general, I can only ...
-3
votes
2
answers
67
views
How to select values for title parameters after the year of 1999 using regular expression
I'm facing a problem, I trying to select values of all title parameters which year is greater than 19999. I tried many ways. But it's not work correctly, It shows all the year title.
In the below, ...
0
votes
1
answer
57
views
How to extract all id values from the cards array in a JSON object using regular expression
I need to extract all id values from the cards array in a JSON object.
I tried the regular expression
"cards":\[\{.*?"id":"([^"]+)"
on the JSON below, but it only ...
0
votes
2
answers
86
views
String to object and dot notation (Javascript) [closed]
In the application I am working on, I have some configuration stored in a memo field in object literals.
{
JWT : { endpoint :"https://somelink1",
clientid :"...
0
votes
1
answer
478
views
BigQuery Extract Info from JSON Strings stored as String Data Type
My BQ tables are populated by a BQ module (load_table_from_dataframe) into a table and has below values as STRING type (including ```)
```json{
"number": 123,
"date": "...
1
vote
0
answers
98
views
snowflake File_Format to remove double quotes from txt file and load to snowflake which also has a column with Json data
I have a txt file with pipe demilited data.
One of the column has a json value like below.
"Failure: {"errors":[{"message":"Does not contain a valid address.","...
0
votes
2
answers
40
views
Regex pattern to select boundary words excluding words inside double quotes
I give up! I have tried so many different things here and what little hair I have left Im losing so if someone could help me out Id be most grateful.
I have some badly formed Json:
friend_in_need: {
...
-1
votes
1
answer
55
views
How to match all double quotes inside double quoted values?
As I am trying to improve my regular expression skills, I am trying to solve this use case.
Let's say a server delivers an incorrectly formatted JSON string and we want to convert this string so that ...
0
votes
0
answers
38
views
Find ".json" file from the 2nd level using regrex and node js
I am trying to get the ".json" file from the second level nesting from the folderPath.
So suppose this is my folderPath= "/user/admin/" and I want to find if the second level ...
0
votes
0
answers
479
views
Looker studio failed to fetch data from underlying dataset even though query works fine in BigQuery, suspecting it's because JavaScript function
I have a database with two columns, one is a date and the other is a string formatted as JSON as follows:
'{ "k1": 1, "k2": 2, "k3": 3 }'
I am trying to get a table to ...
-3
votes
1
answer
117
views
PHP json_decode - quote formatting [closed]
I'm trying to decode a json string with json_decode($str, false). But the format is not correct.
{mDetailedState:CONNECTED,mExtraInfo:3gnet,mIsAvailable:true}
I guess it is because of the quote issue....
1
vote
1
answer
459
views
Use RegEx to mask certain fields in a JSON String in Javascript
I am new to both NodeJS Javascript and Regular expressions. I have a JSON string, like so:
var jsonString =
"[{\"ReturnCode\":0,\"TextID\":\"nwComputedSubTotal\",\&...
0
votes
1
answer
215
views
PostHog API Regex Filtering Issue
I'm trying to use PostHog's API to filter events based on a regex pattern, as documented here: PostHog API Documentation
Here is an example I'm using based on the documentation for filtering by a ...
0
votes
2
answers
53
views
How to delete unwanted character between key and value in JSON?
I have JSON like this: {"key1": "value1", \n \n "key2": "value2\nwithnewline"}
I want:
remove \n \n
keep value2\nwithnewline.
So I will have a valid JSON.
...